[gstreamer-bugs] [Bug 582715] New: gcc warnings about unitialized
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu May 14 23:35:55 PDT 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=582715
GStreamer | gst-plugins-good | Ver: git
Summary: gcc warnings about unitialized
Product: GStreamer
Version: git
Platform: Other
OS/Version: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: trs80 at ucc.gu.uwa.edu.au
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: 2.27/2.28
GNOME milestone: Unspecified
I'm jhbuilding from git so -Werror is enabled, which turns these warnings from
-Wall into an error. Firstly in gst/flv:
gstflvmux.c: In function `gst_flv_mux_collected':
gstflvmux.c:607: warning: 't' might be used uninitialized in this function
The code is:
const gchar *t;
if (!strcmp (tag_name, GST_TAG_ARTIST))
t = "creator";
else if (!strcmp (tag_name, GST_TAG_TITLE))
t = "title";
And in sys/sunaudio:
gstsunaudiomixerctrl.c: In function `gst_sunaudiomixer_ctrl_get_volume':
gstsunaudiomixerctrl.c:179: warning: 'gain' might be used uninitialized in this
function
gstsunaudiomixerctrl.c:179: warning: 'balance' might be used uninitialized in
this function
The code is a switch statement that has no default case.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=582715.
More information about the Gstreamer-bugs
mailing list