From df00205f8bc2d44ca141927f57c5f0ebee60bb8f Mon Sep 17 00:00:00 2001 From: Tobias Oetiker Date: Wed, 20 Aug 2014 17:40:44 +0200 Subject: [PATCH] remove duplicate code --- src/rrd_graph_helper.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/rrd_graph_helper.c b/src/rrd_graph_helper.c index 1b10f903..b5e2eecb 100644 --- a/src/rrd_graph_helper.c +++ b/src/rrd_graph_helper.c @@ -141,11 +141,8 @@ int getLong(const char* v,long *val,char**extra,int base) { int getDouble(const char* v, double *val,char**extra) { /* try to execute the parser */ /* NOTE that this may be a bit different from the original parser */ - unsigned int strtod_ret; *extra=NULL; - strtod_ret = rrd_strtodbl( v, extra, val, NULL); - /* see rrd_strtodbl's return values for more infromation */ switch (rrd_strtodbl( v, extra, val, NULL)){ case 0: -- 2.47.3