sunrastenc: remove dead store
authorPaul B Mahol <onemda@gmail.com>
Thu, 22 Mar 2012 03:36:27 +0000 (03:36 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 22 Mar 2012 12:21:30 +0000 (13:21 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/sunrastenc.c

index 6aae353..43d6b25 100644 (file)
@@ -84,7 +84,6 @@ static void sunrast_image_write_image(AVCodecContext *avctx,
         uint8_t value, value2;
         int run;
 
-        y = 0;
         ptr = pixels;
 
 #define GET_VALUE y >= avctx->height ? 0 : x >= len ? ptr[len-1] : ptr[x]