[Scummvm-cvs-logs] scummvm master -> f9868c807d5f9a39637db45eec9b0248cb8f8de5
fingolfin
max at quendi.de
Thu May 5 17:45:06 CEST 2011
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:
f9868c807d BASE: Suppress pointless warning message (fixes bug #3291522)
Commit: f9868c807d5f9a39637db45eec9b0248cb8f8de5
https://github.com/scummvm/scummvm/commit/f9868c807d5f9a39637db45eec9b0248cb8f8de5
Author: Max Horn (max at quendi.de)
Date: 2011-05-05T08:43:33-07:00
Commit Message:
BASE: Suppress pointless warning message (fixes bug #3291522)
Changed paths:
base/main.cpp
diff --git a/base/main.cpp b/base/main.cpp
index fc4523b..b34eb69 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -354,7 +354,8 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
// TODO: deal with settings that require plugins to be loaded
res = Base::processSettings(command, settings);
if (res.getCode() != Common::kArgumentNotProcessed) {
- warning("%s", res.getDesc().c_str());
+ if (res.getCode() != Common::kNoError)
+ warning("%s", res.getDesc().c_str());
return res.getCode();
}
More information about the Scummvm-git-logs
mailing list