diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-01-19 23:40:46 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-01-19 23:40:46 -0600 |
commit | 14242287e4af168af216f4f3a4491143e9e50a42 (patch) | |
tree | 8169bf711092e46e3761848af6b3a1dc5ec193d3 /basegfx | |
parent | coverity#738570 coverity#738571 : Uninit scalar (unused in fact) (diff) | |
download | core-14242287e4af168af216f4f3a4491143e9e50a42.tar.gz core-14242287e4af168af216f4f3a4491143e9e50a42.zip |
coverity#1130188 Logically dead code
Change-Id: I56b58f76adc820371677a79991ad588a6d78adc7
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b2dpolygontools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx index 0cf0a37a4671..1ab9d807bacc 100644 --- a/basegfx/source/polygon/b2dpolygontools.cxx +++ b/basegfx/source/polygon/b2dpolygontools.cxx @@ -3551,7 +3551,7 @@ namespace basegfx if(bCurve) { // calculate target point count - const sal_uInt32 nLoopCount(bClosed ? nPointCount : (nPointCount ? nPointCount - 1 : 0)); + const sal_uInt32 nLoopCount(bClosed ? nPointCount : nPointCount - 1); if(nLoopCount) { |