[Scummvm-git-logs] scummvm master -> 4e5bb75a3419cb743c3c0113edde193941dab125

digitall noreply at scummvm.org
Mon Sep 1 00:03:07 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
4e5bb75a34 DIRECTOR: Fix Duplicated Branch GCC Compiler Warning


Commit: 4e5bb75a3419cb743c3c0113edde193941dab125
    https://github.com/scummvm/scummvm/commit/4e5bb75a3419cb743c3c0113edde193941dab125
Author: D G Turner (digitall at scummvm.org)
Date: 2025-09-01T01:01:49+01:00

Commit Message:
DIRECTOR: Fix Duplicated Branch GCC Compiler Warning

This had a cut and paste error causing two identical clauses.

Changed paths:
    engines/director/frame.cpp


diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp
index 2b8d33a9362..78cdd65aee0 100644
--- a/engines/director/frame.cpp
+++ b/engines/director/frame.cpp
@@ -119,8 +119,6 @@ void Frame::writeMainChannels(Common::SeekableWriteStream *writeStream, uint16 v
 		writeMainChannelsD4(writeStream);
 	} else if (version >= kFileVer500 && version < kFileVer600) {
 		writeMainChannelsD5(writeStream);
-	} else if (version >= kFileVer500 && version < kFileVer600) {
-		writeMainChannelsD5(writeStream);
 	} else if (version >= kFileVer600 && version < kFileVer700) {
 		writeMainChannelsD6(writeStream);
 	} else if (version >= kFileVer700 && version < kFileVer1100) {




More information about the Scummvm-git-logs mailing list