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

digitall noreply at scummvm.org
Fri Jun 17 10:08:04 UTC 2022


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:
fddcc5a4a2 MTROPOLIS: Fix GCC Set But Unused Variable Warning


Commit: fddcc5a4a2e860ec3dbc8c0c3e0e40de5b297431
    https://github.com/scummvm/scummvm/commit/fddcc5a4a2e860ec3dbc8c0c3e0e40de5b297431
Author: D G Turner (digitall at scummvm.org)
Date: 2022-06-17T11:07:18+01:00

Commit Message:
MTROPOLIS: Fix GCC Set But Unused Variable Warning

Changed paths:
    engines/mtropolis/runtime.cpp


diff --git a/engines/mtropolis/runtime.cpp b/engines/mtropolis/runtime.cpp
index 34b89e7b857..86773b49a7d 100644
--- a/engines/mtropolis/runtime.cpp
+++ b/engines/mtropolis/runtime.cpp
@@ -3951,7 +3951,6 @@ void Runtime::executeCompleteTransitionToScene(const Common::SharedPtr<Structura
 	if (_activeMainScene == targetSharedScene)
 		error("Transitioned into scene currently being used as a target scene, this is not supported");
 
-	bool sceneAlreadyInStack = false;
 	for (size_t i = _sceneStack.size() - 1; i > 0; i--) {
 		Common::SharedPtr<Structural> stackedScene = _sceneStack[i].scene;
 




More information about the Scummvm-git-logs mailing list