JANITORIAL: Remove/comment unused vars
Found by GCC 4.6's -Wunused-but-set-variable
This commit is contained in:
parent
8c70f2a584
commit
d83a83ef50
32 changed files with 51 additions and 115 deletions
|
@ -1978,7 +1978,6 @@ void SdlGraphicsManager::drawMouse() {
|
|||
|
||||
SDL_Rect dst;
|
||||
int scale;
|
||||
int width, height;
|
||||
int hotX, hotY;
|
||||
|
||||
dst.x = _mouseCurState.x;
|
||||
|
@ -1986,16 +1985,12 @@ void SdlGraphicsManager::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