BASE: Suppress pointless warning message (fixes bug #3291522)
This commit is contained in:
parent
921030f4ef
commit
f9868c807d
1 changed files with 2 additions and 1 deletions
|
@ -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
|
// TODO: deal with settings that require plugins to be loaded
|
||||||
res = Base::processSettings(command, settings);
|
res = Base::processSettings(command, settings);
|
||||||
if (res.getCode() != Common::kArgumentNotProcessed) {
|
if (res.getCode() != Common::kArgumentNotProcessed) {
|
||||||
|
if (res.getCode() != Common::kNoError)
|
||||||
warning("%s", res.getDesc().c_str());
|
warning("%s", res.getDesc().c_str());
|
||||||
return res.getCode();
|
return res.getCode();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue