After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 509298 - Compilation errors in gstavisubtitle.c and gstrtspsrc.c with gcc-3.3.3
Compilation errors in gstavisubtitle.c and gstrtspsrc.c with gcc-3.3.3
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-14 08:12 UTC by Laurent Glayal
Modified: 2008-01-14 12:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Laurent Glayal 2008-01-14 08:12:35 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.
Comment 1 Laurent Glayal 2008-01-14 08:18:39 UTC
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

Comment 2 Tim-Philipp Müller 2008-01-14 12:12:15 UTC
 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).