diff options
| author | MC Return <mc.return@gmx.net> | 2013-01-09 14:59:58 +0100 |
|---|---|---|
| committer | MC Return <mc.return@gmx.net> | 2013-01-09 14:59:58 +0100 |
| commit | ff12e9f251f2e3c75efe2d2e1a5528907d26677d (patch) | |
| tree | d4dd616cc1939cc2b8542c40e4ef58ce5af24557 /launcher | |
| parent | 9c7db5cc1335be77227275afa35a0cf9098d0729 (diff) | |
Removed assignment of 0.0f to gfloat HeightToAnchor, because this value is never used
(bzr r3022.1.2)
Diffstat (limited to 'launcher')
| -rw-r--r-- | launcher/QuicklistView.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/launcher/QuicklistView.cpp b/launcher/QuicklistView.cpp index f774cf132..3851c7730 100644 --- a/launcher/QuicklistView.cpp +++ b/launcher/QuicklistView.cpp @@ -916,8 +916,7 @@ void ql_compute_full_mask_path(cairo_t* cr, gfloat padding = pad; int ZEROPOINT5 = 0.0f; - gfloat HeightToAnchor = 0.0f; - HeightToAnchor = ((gfloat) height - 2.0f * radius - anchor_height - 2 * padding) / 2.0f; + gfloat HeightToAnchor = ((gfloat) height - 2.0f * radius - anchor_height - 2 * padding) / 2.0f; if (HeightToAnchor < 0.0f) { g_warning("Anchor-height and corner-radius a higher than whole texture!"); |
