BASE: Suppress pointless warning message (fixes bug #3291522)

This commit is contained in:
Max Horn 2011-05-05 17:43:33 +02:00
parent 921030f4ef
commit f9868c807d

View File

@ -354,6 +354,7 @@ 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) {
if (res.getCode() != Common::kNoError)
warning("%s", res.getDesc().c_str());
return res.getCode();
}