diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-01-28 22:26:23 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-01-28 22:26:23 +0100 |
commit | 510d903016070d6edeff7c7a1ee3badad9d77cba (patch) | |
tree | cd9ced3a3c0eb1365d04b6f5712b3720f4c89a0d /slideshow | |
parent | 61a81b5c12fa7b783ba5207451de1bf3fbee45b3 (diff) |
cppcheck: remove unused variable lt.
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx index e3cdaa59f474..722a507bd5b8 100644 --- a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx +++ b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx @@ -401,7 +401,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); @@ -422,7 +422,6 @@ void OGLTransitionImpl::makeIris() basegfx::B2DVector (cxo, cyo)); lx = x; ly = y; - lt = t; t += 1.0/nSteps; } |