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 681636 - gtlsconnection-gnutls.c:1488:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
gtlsconnection-gnutls.c:1488:6: warning: 'ret' may be used uninitialized in t...
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: network
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2012-08-10 23:39 UTC by Colin Walters
Modified: 2012-08-11 13:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Colin Walters 2012-08-10 23:39:02 UTC
This one looks suspicious:

../../../tls/gnutls/gtlsconnection-gnutls.c:1488:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]

From:

http://ostree.gnome.org/logs/gnomeos-3.6/glib-networking/i686/compile.log

I'm not sure which way is the right fix; just initialize it to zero?
Comment 1 Dan Winship 2012-08-11 13:31:30 UTC
fixed. thanks. (fyi, I always build without optimization, so gcc
doesn't give me uninitialized variable warnings. lame.)