diff options
author | dhewg | 2011-03-29 21:55:21 +0200 |
---|---|---|
committer | dhewg | 2011-03-29 21:57:56 +0200 |
commit | d83a83ef5021c1e329127d3c6402088aeb1c1dd1 (patch) | |
tree | 5ade1c22a76ed8a10fac3d4c488a9866d649508e /engines/sci/graphics | |
parent | 8c70f2a58492335e9045c5abfd291887b2d7a339 (diff) | |
download | scummvm-rg350-d83a83ef5021c1e329127d3c6402088aeb1c1dd1.tar.gz scummvm-rg350-d83a83ef5021c1e329127d3c6402088aeb1c1dd1.tar.bz2 scummvm-rg350-d83a83ef5021c1e329127d3c6402088aeb1c1dd1.zip |
JANITORIAL: Remove/comment unused vars
Found by GCC 4.6's -Wunused-but-set-variable
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/transitions.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/graphics/transitions.cpp b/engines/sci/graphics/transitions.cpp index fac9a97efe..fb124055d6 100644 --- a/engines/sci/graphics/transitions.cpp +++ b/engines/sci/graphics/transitions.cpp @@ -463,7 +463,6 @@ void GfxTransitions::scrollCopyOldToScreen(Common::Rect screenRect, int16 x, int // Scroll old screen (up/down/left/right) and insert new screen that way - works // on _picRect area only. void GfxTransitions::scroll(int16 number) { - int16 screenWidth, screenHeight; int16 stepNr = 0; Common::Rect oldMoveRect = _picRect; Common::Rect oldScreenRect = _picRect; @@ -472,7 +471,6 @@ void GfxTransitions::scroll(int16 number) { uint32 msecCount = 0; _screen->copyFromScreen(_oldScreen); - screenWidth = _screen->getDisplayWidth(); screenHeight = _screen->getDisplayHeight(); switch (number) { case SCI_TRANSITIONS_SCROLL_LEFT: @@ -516,7 +514,7 @@ void GfxTransitions::scroll(int16 number) { newScreenRect.bottom = newScreenRect.top; newMoveRect.top = newMoveRect.bottom; while (oldMoveRect.top < oldMoveRect.bottom) { - oldMoveRect.top++; oldScreenRect.top++; + oldMoveRect.top++; oldScreenRect.top++; newScreenRect.bottom++; newMoveRect.top--; msecCount += 5; |