]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
src/rrd_daemon.c: remove unused local variable rc
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Tue, 12 Sep 2017 13:03:51 +0000 (14:03 +0100)
committerAlan Jenkins <alan.christopher.jenkins@gmail.com>
Tue, 12 Sep 2017 13:29:15 +0000 (14:29 +0100)
rrd_daemon.c: In function ‘handle_request_pending’:
rrd_daemon.c:1479:15: warning: unused variable ‘rc’ [-Wunused-variable]
   int status, rc;
               ^~

src/rrd_daemon.c

index 937b86ae8f01091a7adfeb1af6f6858820c10b3a..3c18f5dcbe50259a0e1d1ec9887ef65a65289d54 100644 (file)
@@ -1476,7 +1476,7 @@ static int handle_request_flushall(HANDLER_PROTO) /* {{{ */
 
 static int handle_request_pending(HANDLER_PROTO) /* {{{ */
 {
-  int status, rc;
+  int status;
   char *file=NULL, *pbuffile;
   cache_item_t *ci;