aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'base/main.cpp')
-rw-r--r--base/main.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/base/main.cpp b/base/main.cpp
index bfb6611a91..2658d1dc67 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -340,10 +340,8 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
// Process the remaining command line settings. Must be done after the
// config file and the plugins have been loaded.
- Common::Error res;
-
- if ((res = Base::processSettings(command, settings)) != Common::kArgumentNotProcessed)
- return res;
+ if (!Base::processSettings(command, settings))
+ return 0;
// Init the backend. Must take place after all config data (including
// the command line params) was read.