From 246b050f51aa3c1ddd5260dee66e7bc56bc02ea1 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 19 Apr 2012 14:49:51 +0200 Subject: mmvideo.c: Remove unused variable in mm_decode_pal(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libavcodec/mmvideo.c:87:9: warning: variable ā€˜iā€™ set but not used --- libavcodec/mmvideo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libavcodec/mmvideo.c') diff --git a/libavcodec/mmvideo.c b/libavcodec/mmvideo.c index 6c81fd4ce1..1a9dfdd9ed 100644 --- a/libavcodec/mmvideo.c +++ b/libavcodec/mmvideo.c @@ -84,8 +84,7 @@ static int mm_decode_pal(MmContext *s) */ static int mm_decode_intra(MmContext * s, int half_horiz, int half_vert) { - int i, x, y; - i=0; x=0; y=0; + int x = 0, y = 0; while (bytestream2_get_bytes_left(&s->gb) > 0) { int run_length, color; -- cgit v1.2.3