From f5463d5347bd2b3d5630a512dbc7139ccec40ac5 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 22 Mar 2012 03:36:27 +0000 Subject: sunrastenc: remove dead store Signed-off-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- libavcodec/sunrastenc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/sunrastenc.c') diff --git a/libavcodec/sunrastenc.c b/libavcodec/sunrastenc.c index 6aae353983..43d6b253e2 100644 --- a/libavcodec/sunrastenc.c +++ b/libavcodec/sunrastenc.c @@ -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] -- cgit v1.2.3