[Scummvm-git-logs] scummvm master -> 3e93c6011bd15ca708d0a4517f4d4f63a88ee901

AndywinXp noreply at scummvm.org
Mon Jun 16 21:25:24 UTC 2025


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

Summary:
3e93c6011b LASTEXPRESS: Fix "unused variable" warning


Commit: 3e93c6011bd15ca708d0a4517f4d4f63a88ee901
    https://github.com/scummvm/scummvm/commit/3e93c6011bd15ca708d0a4517f4d4f63a88ee901
Author: AndywinXp (andywinxp at gmail.com)
Date: 2025-06-16T23:25:19+02:00

Commit Message:
LASTEXPRESS: Fix "unused variable" warning

Changed paths:
    engines/lastexpress/lastexpress.cpp


diff --git a/engines/lastexpress/lastexpress.cpp b/engines/lastexpress/lastexpress.cpp
index 286f39f17d6..d6323ebd77f 100644
--- a/engines/lastexpress/lastexpress.cpp
+++ b/engines/lastexpress/lastexpress.cpp
@@ -213,8 +213,6 @@ Common::Error LastExpressEngine::run() {
 	getVCR()->loadSettings();
 	getMenu()->doEgg(false, kSavegameTypeIndex, 0);
 
-	int32 elapsedMs = 0;
-
 	while (!shouldQuit()) {
 		do {
 			getSoundManager()->soundThread();
@@ -222,7 +220,6 @@ Common::Error LastExpressEngine::run() {
 		} while (getMessageManager()->process());
 
 		waitForTimer(4); // Wait 4 ticks (tick duration: 17 ms dictated by the sound timer)
-		elapsedMs += 4 * 17;
 	}
 
 	bool haveEvent = true;




More information about the Scummvm-git-logs mailing list