Removed some unused variables, found by cppcheck.
svn-id: r49306
This commit is contained in:
parent
5d21ff280a
commit
1c32db1e08
4 changed files with 0 additions and 20 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue