[Scummvm-git-logs] scummvm master -> 01f284fccd481b1daf46a6bf5b967f5858b7ed28

eriktorbjorn noreply at scummvm.org
Mon Jul 14 20:07:44 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:
01f284fccd SCUMM: Silence GCC warnings


Commit: 01f284fccd481b1daf46a6bf5b967f5858b7ed28
    https://github.com/scummvm/scummvm/commit/01f284fccd481b1daf46a6bf5b967f5858b7ed28
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2025-07-14T22:07:30+02:00

Commit Message:
SCUMM: Silence GCC warnings

Changed paths:
    engines/scumm/detection.cpp


diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index 3f8d4e2ce54..c2f841bad18 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -126,16 +126,18 @@ GameFilenamePattern ScummMetaEngineDetection::matchGameFilenamePattern(const MD5
 	return bestMatch;
 }
 
+#if 0
 struct EntryPos {
 	const char *gameid;
 	int id;
 
-	EntryPos(const char *gameid, int id) : gameid(gameid), id(id) {}
+	EntryPos(const char *strId, int intId) : gameid(strId), id(intId) {}
 };
 
 static int compareTreeNodes(const void *a, const void *b) {
 	return scumm_stricmp(((const EntryPos *)a)->gameid, ((const EntryPos *)b)->gameid);
 }
+#endif
 
  void ScummMetaEngineDetection::dumpDetectionEntries() const {
 #if 0




More information about the Scummvm-git-logs mailing list