From 7b247bad4c09af60742ce0f531bf96e3936656d9 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sat, 5 Oct 2019 01:49:21 +0100 Subject: SWITCH: Remove Set But Unused Variables from Events Code These were causing compiler warnings for the porter. --- backends/events/switchsdl/switchsdl-events.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'backends/events/switchsdl') diff --git a/backends/events/switchsdl/switchsdl-events.cpp b/backends/events/switchsdl/switchsdl-events.cpp index 9a42dc3e40..54f6784f4b 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; -- cgit v1.2.3