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 503417 - Build failure due uninitialized variable in function 'gst_bin_find_unconnected_pad'
Build failure due uninitialized variable in function 'gst_bin_find_unconnecte...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal blocker
: 0.10.16
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-12-13 13:42 UTC by Luca Ferretti
Modified: 2007-12-13 14:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luca Ferretti 2007-12-13 13:42:48 UTC
gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -DG_LOG_DOMAIN=g_log_domain_gstreamer -DGST_MAJORMINOR=\"0.10\" -DGST_DISABLE_DEPRECATED -I/usr/include/valgrind -I../libs -I.. -I.. -pthread -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/libxml2 -Wall -Werror -g -DGST_DISABLE_DEPRECATED -g -O2 -MT libgstreamer_0.10_la-gstutils.lo -MD -MP -MF .deps/libgstreamer_0.10_la-gstutils.Tpo -c gstutils.c  -fPIC -DPIC -o .libs/libgstreamer_0.10_la-gstutils.o
cc1: warnings being treated as errors
gstutils.c: In function 'gst_bin_find_unconnected_pad':
gstutils.c:3081: warning: 'iter' may be used uninitialized in this function
make[4]: *** [libgstreamer_0.10_la-gstutils.lo] Error 1
make[4]: Leaving directory `/home/luca/svn/gnome2/gstreamer/gst'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/luca/svn/gnome2/gstreamer/gst'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/luca/svn/gnome2/gstreamer/gst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/luca/svn/gnome2/gstreamer'
make: *** [all] Error 2
Comment 1 Tim-Philipp Müller 2007-12-13 14:01:01 UTC
Should be fixed in CVS now (if not, please re-open):

 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>

        * gst/gstutils.c: (element_find_unconnected_pad):
          Fix possible compiler warning (#503417).

(If you encounter any further warnings, please do  make ERROR_CFLAGS='' 2>warnings.log  and post the log so we can fix them all at once)