Fixup -Wshadow warnings
[fio.git] / stat.c
diff --git a/stat.c b/stat.c
index 2a65fed8fc2ebd61a8c4de3df97fff463fe3e23c..091d6fb1dd1e6a66daa7c0c306737fa2f8312e64 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -1173,7 +1173,7 @@ static struct json_object *show_thread_status_json(struct thread_stat *ts,
 
                if (len) {
                        struct json_object *block, *percentile_object, *states;
 
                if (len) {
                        struct json_object *block, *percentile_object, *states;
-                       int state, i;
+                       int state;
                        block = json_create_object();
                        json_object_add_value_object(root, "block", block);
 
                        block = json_create_object();
                        json_object_add_value_object(root, "block", block);