From cc8736ae602014297a594677a857cb2d789142ad Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 5 Oct 2015 09:54:11 +0200 Subject: clang-analyzer-deadcode.DeadStores Change-Id: Id2d7c2aa0ba1783710a141bd910af785ecf81f8a --- basegfx/source/polygon/b2dpolygontools.cxx | 1 - basegfx/source/polygon/b2dsvgpolypolygon.cxx | 4 ---- 2 files changed, 5 deletions(-) diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx index e031143caebf..95ee250608f3 100644 --- a/basegfx/source/polygon/b2dpolygontools.cxx +++ b/basegfx/source/polygon/b2dpolygontools.cxx @@ -3462,7 +3462,6 @@ namespace basegfx && aControlA.equal(aRetval.getB2DPoint(aRetval.count() - 1))) { bControlA = false; - bControlB = false; } if(bControlA) diff --git a/basegfx/source/polygon/b2dsvgpolypolygon.cxx b/basegfx/source/polygon/b2dsvgpolypolygon.cxx index 3ba94235c2a7..25773e7fac40 100644 --- a/basegfx/source/polygon/b2dsvgpolypolygon.cxx +++ b/basegfx/source/polygon/b2dsvgpolypolygon.cxx @@ -784,7 +784,6 @@ namespace basegfx if(aLastSVGCommand != aCommand) { aResult.append(aCommand); - aLastSVGCommand = aCommand; } basegfx::internal::putNumberCharWithSpace(aResult, aEdgeEnd.getX(), aCurrentSVGPosition.getX(), bUseRelativeCoordinates); @@ -799,7 +798,6 @@ namespace basegfx if(aLastSVGCommand != aCommand) { aResult.append(aCommand); - aLastSVGCommand = aCommand; } basegfx::internal::putNumberCharWithSpace(aResult, aLeft.getX(), aCurrentSVGPosition.getX(), bUseRelativeCoordinates); @@ -820,7 +818,6 @@ namespace basegfx if(aLastSVGCommand != aCommand) { aResult.append(aCommand); - aLastSVGCommand = aCommand; } basegfx::internal::putNumberCharWithSpace(aResult, aControlEdgeEnd.getX(), aCurrentSVGPosition.getX(), bUseRelativeCoordinates); @@ -837,7 +834,6 @@ namespace basegfx if(aLastSVGCommand != aCommand) { aResult.append(aCommand); - aLastSVGCommand = aCommand; } basegfx::internal::putNumberCharWithSpace(aResult, aControlEdgeStart.getX(), aCurrentSVGPosition.getX(), bUseRelativeCoordinates); -- cgit