[Scummvm-git-logs] scummvm master -> 006c4fe8f43fe522c7f9dde89281e3ab6b003fc8
digitall
noreply at scummvm.org
Sun Mar 6 13:57:04 UTC 2022
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:
006c4fe8f4 SCI: Fix Redundant Declaration
Commit: 006c4fe8f43fe522c7f9dde89281e3ab6b003fc8
https://github.com/scummvm/scummvm/commit/006c4fe8f43fe522c7f9dde89281e3ab6b003fc8
Author: D G Turner (digitall at scummvm.org)
Date: 2022-03-06T13:56:15Z
Commit Message:
SCI: Fix Redundant Declaration
This causes GCC Compiler Warnings when -Wredundant-decls is enabled.
Changed paths:
engines/sci/console.cpp
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 4ccd30b8687..b8181566ca4 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -1647,8 +1647,6 @@ bool Console::cmdRestartGame(int argc, const char **argv) {
// the last-used id for that feature. If we don't assign sticky ids, the feature will overwrite different saves all the
// time. And sadly we can't just use the actual filename ids directly, because of the creation method for new slots.
-extern void listSavegames(Common::Array<SavegameDesc> &saves);
-
bool Console::cmdListSaves(int argc, const char **argv) {
Common::Array<SavegameDesc> saves;
listSavegames(saves);
More information about the Scummvm-git-logs
mailing list