From 8ae0be4ae3ca4093ac4140abcb16d5b03dd59810 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Sat, 23 Nov 2019 18:42:04 +0000 Subject: GPH: Remove unused variable --- backends/graphics/gph/gph-graphics.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'backends/graphics') diff --git a/backends/graphics/gph/gph-graphics.cpp b/backends/graphics/gph/gph-graphics.cpp index c54c6f26a5..434b779e74 100644 --- a/backends/graphics/gph/gph-graphics.cpp +++ b/backends/graphics/gph/gph-graphics.cpp @@ -126,7 +126,6 @@ void GPHGraphicsManager::drawMouse() { SDL_Rect dst; int scale; - int width, height; int hotX, hotY; if (_videoMode.mode == GFX_HALF && !_overlayVisible) { @@ -139,16 +138,12 @@ void GPHGraphicsManager::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