From 1c32db1e084698f6594a66e142c217e83cab60d9 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sat, 29 May 2010 08:09:47 +0000 Subject: Removed some unused variables, found by cppcheck. svn-id: r49306 --- backends/platform/sdl/graphics.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'backends/platform/sdl') diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp index b3ef101e9e..e0bf7565fb 100644 --- a/backends/platform/sdl/graphics.cpp +++ b/backends/platform/sdl/graphics.cpp @@ -1771,7 +1771,6 @@ void OSystem_SDL::drawMouse() { SDL_Rect dst; int scale; - int width, height; int hotX, hotY; dst.x = _mouseCurState.x; @@ -1779,16 +1778,12 @@ void OSystem_SDL::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; -- cgit v1.2.3