]> git.sesse.net Git - ffmpeg/commitdiff
ffprobe: remove unused variable i in probe_file()
authorStefano Sabatini <stefasab@gmail.com>
Wed, 16 May 2012 11:20:21 +0000 (13:20 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Wed, 16 May 2012 11:20:21 +0000 (13:20 +0200)
Fix warning:
ffprobe.c: In function ‘probe_file’:
ffprobe.c:1576:14: warning: unused variable ‘i’ [-Wunused-variable]

ffprobe.c

index 5009d58f144d172b8ef02d7a378875d22e175185..d53ec11624589fd1c21bed5204d2d18ebfa5bc9a 100644 (file)
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -1573,7 +1573,7 @@ static void close_input_file(AVFormatContext **ctx_ptr)
 static int probe_file(WriterContext *wctx, const char *filename)
 {
     AVFormatContext *fmt_ctx;
-    int ret, i;
+    int ret;
 
     do_read_frames = do_show_frames || do_count_frames;
     do_read_packets = do_show_packets || do_count_packets;