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

digitall noreply at scummvm.org
Tue Apr 4 18:13:40 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:
3a5b94ed8f VCRUISE: Fix Set But Unused Variable GCC Compiler Warning


Commit: 3a5b94ed8ff4370234e88e73f682ed01d19cba63
    https://github.com/scummvm/scummvm/commit/3a5b94ed8ff4370234e88e73f682ed01d19cba63
Author: D G Turner (digitall at scummvm.org)
Date: 2023-04-04T19:12:58+01:00

Commit Message:
VCRUISE: Fix Set But Unused Variable GCC Compiler Warning

Changed paths:
    engines/vcruise/runtime.cpp


diff --git a/engines/vcruise/runtime.cpp b/engines/vcruise/runtime.cpp
index 7dc2e5dc514..a562c17a52d 100644
--- a/engines/vcruise/runtime.cpp
+++ b/engines/vcruise/runtime.cpp
@@ -635,6 +635,7 @@ LoadGameOutcome SaveGameSnapshot::read(Common::ReadStream *stream) {
 	uint numRandomAmbientSounds = 0;
 	if (saveVersion >= 3)
 		numRandomAmbientSounds = stream->readUint32BE();
+	debug(5, "TODO: numRandomAmbientSounds: %d - not currently used", numRandomAmbientSounds);
 
 	uint numVars = stream->readUint32BE();
 	uint numTimers = stream->readUint32BE();




More information about the Scummvm-git-logs mailing list