aboutsummaryrefslogtreecommitdiff
path: root/base/commandLine.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2011-04-25 15:26:23 +0200
committerJohannes Schickel2011-04-25 15:26:23 +0200
commitaee0fa34bf5ea2ce474a2ae67f7722df4929d4a5 (patch)
tree9cd2dbe205a96eea2789154a97c124b67ffd508b /base/commandLine.cpp
parent6959ee22e4451bca5d15141028777e4d63377401 (diff)
downloadscummvm-rg350-aee0fa34bf5ea2ce474a2ae67f7722df4929d4a5.tar.gz
scummvm-rg350-aee0fa34bf5ea2ce474a2ae67f7722df4929d4a5.tar.bz2
scummvm-rg350-aee0fa34bf5ea2ce474a2ae67f7722df4929d4a5.zip
BASE: Remove unused variable in DO_OPTION_INT.
Diffstat (limited to 'base/commandLine.cpp')
-rw-r--r--base/commandLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/commandLine.cpp b/base/commandLine.cpp
index 7c482d3057..bb2141b110 100644
--- a/base/commandLine.cpp
+++ b/base/commandLine.cpp
@@ -262,7 +262,7 @@ void registerDefaults() {
#define DO_OPTION_INT(shortCmd, longCmd) \
DO_OPTION(shortCmd, longCmd) \
char *endptr = 0; \
- int intValue; intValue = (int)strtol(option, &endptr, 0); \
+ strtol(option, &endptr, 0); \
if (endptr == NULL || *endptr != 0) usage("--%s: Invalid number '%s'", longCmd, option);
// Use this for boolean options; this distinguishes between "-x" and "-X",