diff options
author | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-09-04 20:55:48 +0200 |
---|---|---|
committer | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-09-06 22:42:10 +0200 |
commit | 7eb5645e7380c0f05645648ef7d225e9d44c28d6 (patch) | |
tree | eaf0a90b2a6551b10f30217d061ee04e56f1ab2f /filter | |
parent | [cppchecker] deletion of supperfluous variable (diff) | |
download | core-7eb5645e7380c0f05645648ef7d225e9d44c28d6.tar.gz core-7eb5645e7380c0f05645648ef7d225e9d44c28d6.zip |
[cppchecker] unread variable deleted
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/icgm/class4.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/filter/source/graphicfilter/icgm/class4.cxx b/filter/source/graphicfilter/icgm/class4.cxx index b148fe6cf3fd..4d556e904988 100644 --- a/filter/source/graphicfilter/icgm/class4.cxx +++ b/filter/source/graphicfilter/icgm/class4.cxx @@ -465,11 +465,8 @@ void CGM::ImplDoClass4() double fInterAngle = ImplGetOrientation( aCenterPoint, aIntermediatePoint ); double fEndAngle = ImplGetOrientation( aCenterPoint, aEndingPoint ); - int nSwitch = 0; - if ( fStartAngle > fEndAngle ) { - nSwitch ^=1; aIntermediatePoint = aEndingPoint; aEndingPoint = aStartingPoint; aStartingPoint = aIntermediatePoint; @@ -479,7 +476,6 @@ void CGM::ImplDoClass4() } if ( ! ( fInterAngle > fStartAngle ) && ( fInterAngle < fEndAngle ) ) { - nSwitch ^=1; aIntermediatePoint = aEndingPoint; aEndingPoint = aStartingPoint; aStartingPoint = aIntermediatePoint; |