GNOME Bugzilla – Bug 509298
Compilation errors in gstavisubtitle.c and gstrtspsrc.c with gcc-3.3.3
Last modified: 2008-01-14 12:12:15 UTC
gstavisubtitle.c: In function `gst_avi_subtitle_extract_file': gstavisubtitle.c:81: warning: `ret' might be used uninitialized in this function make: *** [libgstavi_la-gstavisubtitle.lo] Error 1 setting ret = NULL solve the pb.
Same thing in gstrtspsrc.c: In function `gst_rtspsrc_send': gstrtspsrc.c:3218: warning: `res' might be used uninitialized in this function gstrtspsrc.c:3221: warning: `method' might be used uninitialized in this function
2008-01-14 Tim-Philipp Müller <tim at centricular dot net> * gst/avi/gstavisubtitle.c: (gst_avi_subtitle_extract_file): * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send): Initialise variables to work around (false) 'foo might be used uninitialized in this function' warnings by gcc-3.3.3 (#509298).