BASE: Remove unused variable in DO_OPTION_INT.

This commit is contained in:
Johannes Schickel
2011-04-25 15:26:23 +02:00
parent 6959ee22e4
commit aee0fa34bf
+1 -1
View File
@@ -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",