Code

fix some warnings
[rrdtool-all.git] / program / src / rrd_flushcached.c
index fb9345b4ea8ee1382257c9ce567a2fe71840b121..f7a715e110c85528ae991decff7ea10a8eecd5a7 100644 (file)
@@ -87,7 +87,7 @@ int rrd_flushcached (int argc, char **argv)
     }
 
     status = 0;
-    for (int i = optind; i < argc; i++)
+    for (i = optind; i < argc; i++)
     {
         status = rrdc_flush(argv[i]);
         if (status)