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

digitall noreply at scummvm.org
Tue Jul 9 23:51:28 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:
f9696799a4 HUGO: Remove Set But Unused Variable


Commit: f9696799a4d6790dceef66e71e2738e2693eff26
    https://github.com/scummvm/scummvm/commit/f9696799a4d6790dceef66e71e2738e2693eff26
Author: D G Turner (digitall at scummvm.org)
Date: 2024-07-10T00:50:55+01:00

Commit Message:
HUGO: Remove Set But Unused Variable

This was causing a GCC Compiler Warning.

Changed paths:
    engines/hugo/parser.cpp


diff --git a/engines/hugo/parser.cpp b/engines/hugo/parser.cpp
index 905f748b4c4..632d5317e1b 100644
--- a/engines/hugo/parser.cpp
+++ b/engines/hugo/parser.cpp
@@ -278,7 +278,6 @@ void Parser::keyHandler(Common::Event event) {
 	debugC(1, kDebugParser, "keyHandler(%d)", event.kbd.keycode);
 
 	Status &gameStatus = _vm->getGameStatus();
-	uint16 nChar = event.kbd.keycode;
 
 	if (event.kbd.flags & (Common::KBD_ALT | Common::KBD_SCRL))
 		return;




More information about the Scummvm-git-logs mailing list