[Scummvm-git-logs] scummvm master -> 2e549c3692d8035f08fcd33327bf4348b76caa52

sev- noreply at scummvm.org
Sun Nov 5 18:39:49 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:
2e549c3692 SLUDGE: Fix warnings


Commit: 2e549c3692d8035f08fcd33327bf4348b76caa52
    https://github.com/scummvm/scummvm/commit/2e549c3692d8035f08fcd33327bf4348b76caa52
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-11-05T19:39:37+01:00

Commit Message:
SLUDGE: Fix warnings

Changed paths:
    engines/sludge/function.cpp


diff --git a/engines/sludge/function.cpp b/engines/sludge/function.cpp
index a5278bd5563..8f963efad02 100644
--- a/engines/sludge/function.cpp
+++ b/engines/sludge/function.cpp
@@ -71,7 +71,7 @@ void printStack(VariableStack *ptr) {
 		ptr = ptr->next;
 	}
 
-	debug("");
+	debug("%s", "");
 }
 
 void printLocals(Variable *localVars, int count) {
@@ -81,7 +81,7 @@ void printLocals(Variable *localVars, int count) {
 	for (int i = 0; i < count; i++)
 		localVars[i].debugPrint();
 
-	debug("");
+	debug("%s", "");
 }
 
 void restartFunction(LoadedFunction *fun) {
@@ -223,7 +223,7 @@ bool continueFunction(LoadedFunction *fun) {
 
 		debugN("  Reg before: ");
 		fun->reg.debugPrint();
-		debug("");
+		debug("%s", "");
 
 		debugN(" Locals before: ");
 		printLocals(fun->localVars, fun->numLocals);
@@ -659,7 +659,7 @@ bool continueFunction(LoadedFunction *fun) {
 
 		debugN("  Reg after: ");
 		fun->reg.debugPrint();
-		debug("");
+		debug("%s", "");
 
 		debugN(" Locals after: ");
 		printLocals(fun->localVars, fun->numLocals);




More information about the Scummvm-git-logs mailing list