From a8798c7eb934055d6aae51c6c7627559c33317d8 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 13 Feb 2012 08:24:00 +0100 Subject: Drop unnecessary av_uninit attributes from some variable declarations. Recent versions of gcc (4.4+) no longer give false positive warnings. --- libavcodec/eatgv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/eatgv.c') diff --git a/libavcodec/eatgv.c b/libavcodec/eatgv.c index ccdb35ef2b..025188bc89 100644 --- a/libavcodec/eatgv.c +++ b/libavcodec/eatgv.c @@ -64,7 +64,7 @@ static av_cold int tgv_decode_init(AVCodecContext *avctx){ */ static int unpack(const uint8_t *src, const uint8_t *src_end, unsigned char *dst, int width, int height) { unsigned char *dst_end = dst + width*height; - int size, size1, size2, av_uninit(offset), run; + int size, size1, size2, offset, run; unsigned char *dst_start = dst; if (src[0] & 0x01) -- cgit v1.2.3