[Ffmpeg-cvslog] r7711 - trunk/libavcodec/snow.c

takis subversion
Thu Jan 25 16:23:22 CET 2007


Author: takis
Date: Thu Jan 25 16:23:22 2007
New Revision: 7711

Modified:
   trunk/libavcodec/snow.c

Log:
Silence GCC when incorrectly complaining that the "line" variable could be used
without having been initialized.


Modified: trunk/libavcodec/snow.c
==============================================================================
--- trunk/libavcodec/snow.c	(original)
+++ trunk/libavcodec/snow.c	Thu Jan 25 16:23:22 2007
@@ -3547,7 +3547,7 @@
 
 //    START_TIMER
 
-    DWTELEM * line;
+    DWTELEM * line=0; // silence silly "could be used without having been initialized" warning
     DWTELEM * prev;
 
     if (start_y != 0)




More information about the ffmpeg-cvslog mailing list