From: Tobias Oetiker Date: Thu, 6 Nov 2014 11:18:58 +0000 (+0100) Subject: unused variable revmoved X-Git-Tag: v1.5.0-rc1~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca36715d12d7ab8cbae9249c4514e02cefeeea93;p=thirdparty%2Frrdtool-1.x.git unused variable revmoved --- diff --git a/src/rrd_graph_helper.c b/src/rrd_graph_helper.c index cafb1301..74bbebed 100644 --- a/src/rrd_graph_helper.c +++ b/src/rrd_graph_helper.c @@ -222,7 +222,7 @@ int parseArguments(const char* origarg, parsedargs_t* pa) { /* null and : separate the string */ *pos=0; /* flag to say we are positional */ - int ispos=0; + //int ispos=0; /* handle the case where we have got an = */ /* find equal sign */ char* equal=field; @@ -254,7 +254,7 @@ int parseArguments(const char* origarg, parsedargs_t* pa) { } key=poskeys[poscnt]; poscnt++; - ispos=poscnt; + //ispos=poscnt; value=field; } }