[Scummvm-git-logs] scummvm master -> 7f426af872587d86bea3ccef4633b8c5e9a2f3b0

sev- noreply at scummvm.org
Tue Jan 10 21:44:37 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:
7f426af872 COMMON: Fix warning


Commit: 7f426af872587d86bea3ccef4633b8c5e9a2f3b0
    https://github.com/scummvm/scummvm/commit/7f426af872587d86bea3ccef4633b8c5e9a2f3b0
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-01-10T22:44:06+01:00

Commit Message:
COMMON: Fix warning

Changed paths:
    common/macresman.cpp


diff --git a/common/macresman.cpp b/common/macresman.cpp
index 8b5a9da0d95..a4f02d54571 100644
--- a/common/macresman.cpp
+++ b/common/macresman.cpp
@@ -279,7 +279,7 @@ bool MacResManager::open(const Path &fileName, Archive &archive) {
 		// This could be a MacBinary file that still has a
 		// resource fork; if it is, it needs to get opened as MacBinary
 		// and not treated as raw.
-		SeekableReadStream *stream = archive.createReadStreamForMember(fileName);
+		stream = archive.createReadStreamForMember(fileName);
 		bool isMacBinaryFile = false;
 		if (stream) {
 			isMacBinaryFile = isMacBinary(*stream);




More information about the Scummvm-git-logs mailing list