[Scummvm-git-logs] scummvm master -> 5e8aeaa9e2e145ae614526075c42424c323b36ca

digitall noreply at scummvm.org
Mon May 29 23:39:17 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:
5e8aeaa9e2 VCRUISE: Fix Sequence Point GCC Compiler Warning


Commit: 5e8aeaa9e2e145ae614526075c42424c323b36ca
    https://github.com/scummvm/scummvm/commit/5e8aeaa9e2e145ae614526075c42424c323b36ca
Author: D G Turner (digitall at scummvm.org)
Date: 2023-05-30T00:38:28+01:00

Commit Message:
VCRUISE: Fix Sequence Point GCC Compiler Warning

This looks like a cut and paste error.

Changed paths:
    engines/vcruise/menu.cpp


diff --git a/engines/vcruise/menu.cpp b/engines/vcruise/menu.cpp
index eaab02a725b..6bc647821a3 100644
--- a/engines/vcruise/menu.cpp
+++ b/engines/vcruise/menu.cpp
@@ -711,7 +711,7 @@ void ReahSoundMenuPage::addPageContents() {
 	}
 
 	int sndVol = ConfMan.getInt("sfx_volume");
-	int musVol = musVol = ConfMan.getInt("music_volume");
+	int musVol = ConfMan.getInt("music_volume");
 
 	bool musicMute = false;
 	if (ConfMan.hasKey("vcruise_mute_music"))




More information about the Scummvm-git-logs mailing list