diff options
author | Torbjörn Andersson | 2010-05-29 08:09:47 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-05-29 08:09:47 +0000 |
commit | 1c32db1e084698f6594a66e142c217e83cab60d9 (patch) | |
tree | 785c00c62906cf8cfe6c2211dc80a2c3a04e3080 /backends/platform/gp2xwiz/gp2xwiz-graphics.cpp | |
parent | 5d21ff280a30347362701ee177ab54f85e18e712 (diff) | |
download | scummvm-rg350-1c32db1e084698f6594a66e142c217e83cab60d9.tar.gz scummvm-rg350-1c32db1e084698f6594a66e142c217e83cab60d9.tar.bz2 scummvm-rg350-1c32db1e084698f6594a66e142c217e83cab60d9.zip |
Removed some unused variables, found by cppcheck.
svn-id: r49306
Diffstat (limited to 'backends/platform/gp2xwiz/gp2xwiz-graphics.cpp')
-rw-r--r-- | backends/platform/gp2xwiz/gp2xwiz-graphics.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/backends/platform/gp2xwiz/gp2xwiz-graphics.cpp b/backends/platform/gp2xwiz/gp2xwiz-graphics.cpp index b20087e6d9..28c03db4b0 100644 --- a/backends/platform/gp2xwiz/gp2xwiz-graphics.cpp +++ b/backends/platform/gp2xwiz/gp2xwiz-graphics.cpp @@ -154,7 +154,6 @@ void OSystem_GP2XWIZ::drawMouse() { SDL_Rect dst; int scale; - int width, height; int hotX, hotY; if (_videoMode.mode == GFX_HALF && !_overlayVisible){ @@ -167,16 +166,12 @@ void OSystem_GP2XWIZ::drawMouse() { if (!_overlayVisible) { scale = _videoMode.scaleFactor; - width = _videoMode.screenWidth; - height = _videoMode.screenHeight; dst.w = _mouseCurState.vW; dst.h = _mouseCurState.vH; hotX = _mouseCurState.vHotX; hotY = _mouseCurState.vHotY; } else { scale = 1; - width = _videoMode.overlayWidth; - height = _videoMode.overlayHeight; dst.w = _mouseCurState.rW; dst.h = _mouseCurState.rH; hotX = _mouseCurState.rHotX; |