diff --git a/base/commandLine.cpp b/base/commandLine.cpp index 7c482d3057c..bb2141b1101 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",