[Scummvm-git-logs] scummvm-tools master -> d89a6f879814f04016b138b1dd35e9e6a3d85d2e

sev- noreply at scummvm.org
Mon Nov 21 11:35:24 UTC 2022


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

Summary:
d89a6f8798 GOB: Fix an unused variable warning on BE targets


Commit: d89a6f879814f04016b138b1dd35e9e6a3d85d2e
    https://github.com/scummvm/scummvm-tools/commit/d89a6f879814f04016b138b1dd35e9e6a3d85d2e
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2022-11-21T12:35:21+01:00

Commit Message:
GOB: Fix an unused variable warning on BE targets

Changed paths:
    engines/gob/extract_gob_cdi.cpp


diff --git a/engines/gob/extract_gob_cdi.cpp b/engines/gob/extract_gob_cdi.cpp
index a42f3a04..3875fe74 100644
--- a/engines/gob/extract_gob_cdi.cpp
+++ b/engines/gob/extract_gob_cdi.cpp
@@ -67,8 +67,8 @@ typedef struct {
 #include "common/pack-end.h"
 
 void fix_entry_endianess(rtf_entry *entry) {
-	Uint32 data;
 #ifdef SCUMM_LITTLE_ENDIAN
+	Uint32 data;
 	data = entry->offset;
 	data = ((data >> 24) & 0x000000FF) |
 		((data >> 8) & 0x0000FF00) |




More information about the Scummvm-git-logs mailing list