From aee0fa34bf5ea2ce474a2ae67f7722df4929d4a5 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 25 Apr 2011 15:26:23 +0200 Subject: BASE: Remove unused variable in DO_OPTION_INT. --- base/commandLine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base') 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", -- cgit v1.2.3