From: Panagiotis Issaris Date: Thu, 25 Jan 2007 15:23:22 +0000 (+0000) Subject: Silence GCC when incorrectly complaining that the "line" variable could be used X-Git-Tag: v0.5~10349 X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=b5bfb9f9de911846c43b52a7469b3cb413055492;hp=200d9a885b64a739e6510a527911bdaee7f2eae0 Silence GCC when incorrectly complaining that the "line" variable could be used without having been initialized. Originally committed as revision 7711 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/snow.c b/libavcodec/snow.c index ed21c865d7..19bec9cea5 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -3547,7 +3547,7 @@ static void correlate_slice_buffered(SnowContext *s, slice_buffer * sb, SubBand // START_TIMER - DWTELEM * line; + DWTELEM * line=0; // silence silly "could be used without having been initialized" warning DWTELEM * prev; if (start_y != 0)