summaryrefslogtreecommitdiff
path: root/libavcodec/sunrastenc.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-03-22 03:36:27 +0000
committerMichael Niedermayer <michaelni@gmx.at>2012-03-22 13:21:30 +0100
commitf5463d5347bd2b3d5630a512dbc7139ccec40ac5 (patch)
tree43910b8177a101af3862a7576baabd7d7659c19d /libavcodec/sunrastenc.c
parentddbd0cedb0c23559f1d099bba79601ae3ae6723d (diff)
sunrastenc: remove dead store
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/sunrastenc.c')
-rw-r--r--libavcodec/sunrastenc.c1
1 files changed, 0 insertions, 1 deletions
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]