[Scummvm-git-logs] scummvm master -> 7b247bad4c09af60742ce0f531bf96e3936656d9

digitall 547637+digitall at users.noreply.github.com
Sat Oct 5 02:53:18 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
7b247bad4c SWITCH: Remove Set But Unused Variables from Events Code


Commit: 7b247bad4c09af60742ce0f531bf96e3936656d9
    https://github.com/scummvm/scummvm/commit/7b247bad4c09af60742ce0f531bf96e3936656d9
Author: D G Turner (digitall at scummvm.org)
Date: 2019-10-05T01:49:21+01:00

Commit Message:
SWITCH: Remove Set But Unused Variables from Events Code

These were causing compiler warnings for the porter.

Changed paths:
    backends/events/switchsdl/switchsdl-events.cpp


diff --git a/backends/events/switchsdl/switchsdl-events.cpp b/backends/events/switchsdl/switchsdl-events.cpp
index 9a42dc3..54f6784 100644
--- a/backends/events/switchsdl/switchsdl-events.cpp
+++ b/backends/events/switchsdl/switchsdl-events.cpp
@@ -349,12 +349,6 @@ void SwitchEventSource::convertTouchXYToGameXY(float touchX, float touchY, int *
 	int screenH = _km.y_max;
 	int screenW = _km.x_max;
 
-	int windowH = g_system->getHeight();
-	int windowW = g_system->getWidth();
-
-	bool fullscreen = ConfMan.getBool("fullscreen");
-	bool aspectRatioCorrection = ConfMan.getBool("aspect_ratio");
-
 	const int dispW = TOUCHSCREEN_WIDTH;
 	const int dispH = TOUCHSCREEN_HEIGHT;
 





More information about the Scummvm-git-logs mailing list