[Scummvm-git-logs] scummvm master -> f6753a28f40facea1e28781d1ba4d31422954a41

digitall noreply at scummvm.org
Sun Sep 22 02:08:07 UTC 2024


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:
f6753a28f4 TOON: Fix Unused Variable GCC Compiler Warning


Commit: f6753a28f40facea1e28781d1ba4d31422954a41
    https://github.com/scummvm/scummvm/commit/f6753a28f40facea1e28781d1ba4d31422954a41
Author: D G Turner (digitall at scummvm.org)
Date: 2024-09-22T03:07:56+01:00

Commit Message:
TOON: Fix Unused Variable GCC Compiler Warning

Changed paths:
    engines/toon/toon.cpp


diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index e38c2ff8eb9..874a086857d 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -203,7 +203,7 @@ void ToonEngine::parseInput() {
 	Common::Event event;
 	while (!breakPollEventloop && _event->pollEvent(event)) {
 
-		const bool hasModifier = (event.kbd.flags & Common::KBD_NON_STICKY) != 0;
+		//const bool hasModifier = (event.kbd.flags & Common::KBD_NON_STICKY) != 0;
 		switch (event.type) {
 		case Common::EVENT_MOUSEMOVE:
 			_mouseX = event.mouse.x;




More information about the Scummvm-git-logs mailing list