diff options
| author | MC Return <mc.return@gmx.net> | 2013-01-09 15:40:24 +0100 |
|---|---|---|
| committer | MC Return <mc.return@gmx.net> | 2013-01-09 15:40:24 +0100 |
| commit | d13687a6e8da7b106f7ecbe89f808747e7590c8a (patch) | |
| tree | d47f69083f2b6daadb1e4584a239e6f642ba06ba /unity-shared | |
| parent | 329a9cbb5d7d1bc5d12ce8393314187a14e2b83f (diff) | |
Removed assignment of TRUE to bool odd, because this value is never used
(bzr r3022.1.9)
Diffstat (limited to 'unity-shared')
| -rwxr-xr-x | unity-shared/DashStyle.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/unity-shared/DashStyle.cpp b/unity-shared/DashStyle.cpp index 8e3f040c8..a862145f7 100755 --- a/unity-shared/DashStyle.cpp +++ b/unity-shared/DashStyle.cpp @@ -466,9 +466,7 @@ void Style::RoundedRect(cairo_t* cr, cairo_surface_get_type(cairo_get_target(cr)) != CAIRO_SURFACE_TYPE_IMAGE) return; - bool odd = true; - - odd = cairo_get_line_width (cr) == 2.0 ? false : true; + bool odd = cairo_get_line_width (cr) == 2.0 ? false : true; double radius = cornerRadius / aspect; |
