[Scummvm-git-logs] scummvm master -> 6608aac670df1c1018d75106e7c0409de8c327ba
sev-
sev at scummvm.org
Wed Apr 14 18:38:56 UTC 2021
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:
6608aac670 BASE: Do not warn on unhandled empty command, improve warning wording
Commit: 6608aac670df1c1018d75106e7c0409de8c327ba
https://github.com/scummvm/scummvm/commit/6608aac670df1c1018d75106e7c0409de8c327ba
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-04-14T20:37:28+02:00
Commit Message:
BASE: Do not warn on unhandled empty command, improve warning wording
Changed paths:
base/commandLine.cpp
diff --git a/base/commandLine.cpp b/base/commandLine.cpp
index acbfb95d08..bc7df2550f 100644
--- a/base/commandLine.cpp
+++ b/base/commandLine.cpp
@@ -1460,7 +1460,8 @@ bool processSettings(Common::String &command, Common::StringMap &settings, Commo
return true;
#endif
} else {
- warning("Unhandled command \"%s\"", command.c_str());
+ if (!command.empty())
+ warning("processSettings(): Unhandled command line parameter \"%s\"", command.c_str());
}
#endif // DISABLE_COMMAND_LINE
More information about the Scummvm-git-logs
mailing list