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

digitall noreply at scummvm.org
Sun Apr 9 23:30:30 UTC 2023


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:
c78b2b822f VCRUISE: Fix Unused Variable GCC Compiler Warnings


Commit: c78b2b822f4ccbeeebc38bb3966b8da96d25e6c8
    https://github.com/scummvm/scummvm/commit/c78b2b822f4ccbeeebc38bb3966b8da96d25e6c8
Author: D G Turner (digitall at scummvm.org)
Date: 2023-04-10T00:30:04+01:00

Commit Message:
VCRUISE: Fix Unused Variable GCC Compiler Warnings

Changed paths:
    engines/vcruise/runtime.cpp


diff --git a/engines/vcruise/runtime.cpp b/engines/vcruise/runtime.cpp
index 6c3a8680dc4..8ff05a741f6 100644
--- a/engines/vcruise/runtime.cpp
+++ b/engines/vcruise/runtime.cpp
@@ -3620,6 +3620,11 @@ void Runtime::scriptOpAnim(ScriptArg_t arg) {
 void Runtime::scriptOpStatic(ScriptArg_t arg) {
 	TAKE_STACK_INT(kAnimDefStackArgs);
 
+	debug(10, "scriptOpStatic() kAnimDefStackArgs: %d", kAnimDefStackArgs);
+	for (uint i = 0; i < kAnimDefStackArgs; i++) {
+		debug(10, "\tstackArgs[%d]: %d", i, stackArgs[i]);
+	}
+
 	// FIXME: What does this actually do?
 	// It looks like this sets the last frame of an animation as the current scene graphic, but
 	// in some cases that's wrong.  For instance, after solving the temple puzzle in Reah, viewing




More information about the Scummvm-git-logs mailing list