Silence GCC when incorrectly complaining that the "line" variable could be used
authorPanagiotis Issaris <takis.issaris@uhasselt.be>
Thu, 25 Jan 2007 15:23:22 +0000 (15:23 +0000)
committerPanagiotis Issaris <takis.issaris@uhasselt.be>
Thu, 25 Jan 2007 15:23:22 +0000 (15:23 +0000)
without having been initialized.

Originally committed as revision 7711 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/snow.c

index ed21c86..19bec9c 100644 (file)
@@ -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)