summaryrefslogtreecommitdiff
path: root/slideshow/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-06 20:19:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-06 20:19:45 +0000
commit57a95b2d6f6e2dec52f6ee7dce8b0e07ff34c589 (patch)
treee44f263360837a7ac6e4c8a66d66c580ca971a0a /slideshow/source
parent7065f10c7275b0dc925d43e4a8520518d037ad13 (diff)
cppcheck: unused variable
Diffstat (limited to 'slideshow/source')
-rw-r--r--slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx
index 7c5eb073e5c7..bc2bf3e5ddf1 100644
--- a/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/win/OGLTrans_TransitionImpl.cxx
@@ -407,7 +407,7 @@ void OGLTransitionImpl::makeIris()
Primitive irisPart, part;
int i, nSteps = 24, nParts = 7;
- double lt = 0, t = 1.0/nSteps, cx, cy, lcx, lcy, lx = 1, ly = 0, x, y, cxo, cyo, lcxo, lcyo, of=2.2, f=1.42;
+ double t = 1.0/nSteps, cx, cy, lcx, lcy, lx = 1, ly = 0, x, y, cxo, cyo, lcxo, lcyo, of=2.2, f=1.42;
for (i=1; i<=nSteps; i++) {
x = cos ((3*2*M_PI*t)/nParts);
@@ -428,7 +428,6 @@ void OGLTransitionImpl::makeIris()
basegfx::B2DVector (cxo, cyo));
lx = x;
ly = y;
- lt = t;
t += 1.0/nSteps;
}