t/dedupe: silence 'some_done' unused warning on some compilers
authorJens Axboe <axboe@fb.com>
Mon, 29 Sep 2014 01:10:24 +0000 (19:10 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 29 Sep 2014 01:10:24 +0000 (19:10 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
t/dedupe.c

index f9fb8c4..69ebc8a 100644 (file)
@@ -342,7 +342,7 @@ static void show_progress(struct worker_thread *threads, unsigned long total)
                unsigned long nitems = 0;
                uint64_t tdiff;
                float perc;
-               int some_done;
+               int some_done = 0;
                int i;
 
                for (i = 0; i < num_threads; i++) {