summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-05 09:54:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-05 09:54:11 +0200
commitcc8736ae602014297a594677a857cb2d789142ad (patch)
treeee87b560b3255bb8a400effa0b7ba706a03f0adc /basegfx
parent9a1f09b93bc83276516fcfe3a7db4a23ca8c8c2c (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: Id2d7c2aa0ba1783710a141bd910af785ecf81f8a
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/polygon/b2dpolygontools.cxx1
-rw-r--r--basegfx/source/polygon/b2dsvgpolypolygon.cxx4
2 files changed, 0 insertions, 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);