[Bug 676500] New: Errors when building with warnings treated as errors
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon May 21 06:49:03 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=676500
GStreamer | gst-rtsp-server | git
Summary: Errors when building with warnings treated as errors
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-rtsp-server
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: davidsf at axis.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=214564)
View: https://bugzilla.gnome.org/attachment.cgi?id=214564
Review: https://bugzilla.gnome.org/review?bug=676500&attachment=214564
Fixes for compiler warnings
We build gst-rtsp-server with warnings treated as errors, and get some
compilation errors that we think should be corrected in the code. The errors,
which are fixed by the proposed patch that has been attached below, are the
following:
gst-rtsp-server/gst/rtsp-server/rtsp-auth.c: In function
'gst_rtsp_auth_get_property':
gst-rtsp-server/gst/rtsp-server/rtsp-auth.c:90: error: unused variable 'auth'
gst-rtsp-server/gst/rtsp-server/rtsp-auth.c: In function
'gst_rtsp_auth_set_property':
gst-rtsp-server/gst/rtsp-server/rtsp-auth.c:102: error: unused variable 'auth'
gst-rtsp-server/gst/rtsp-server/rtsp-media-factory-uri.c: In function
'payloader_filter':
gst-rtsp-server/gst/rtsp-server/rtsp-media-factory-uri.c:124: error: unused
variable 'res'
gst-rtsp-server/gst/rtsp-server/rtsp-media-factory-uri.c: In function
'find_payloader':
gst-rtsp-server/gst/rtsp-server/rtsp-media-factory-uri.c:293: error: unused
variable 'tmp'
gst-rtsp-server/gst/rtsp-server/rtsp-media-factory-uri.c: In function
'autoplug_continue_cb':
gst-rtsp-server/gst/rtsp-server/rtsp-media-factory-uri.c:343: error: unused
variable 'res'
gst-rtsp-server/gst/rtsp-server/rtsp-media-factory-uri.c:340: error: unused
variable 'tmp'
gst-rtsp-server/gst/rtsp-server/rtsp-media-factory-uri.c:340: error: unused
variable 'list'
gst-rtsp-server/gst/rtsp-server/rtsp-client.c:429: error: 'do_send_data_list'
defined but not used
gst-rtsp-server/gst/rtsp-server/rtsp-server.c: In function
'gst_rtsp_server_io_func':
gst-rtsp-server/gst/rtsp-server/rtsp-server.c:796: error: 'result' may be used
uninitialized in this function
gst-rtsp-server/gst/rtsp-server/rtsp-server.c: In function
'gst_rtsp_server_create_socket':
gst-rtsp-server/gst/rtsp-server/rtsp-server.c:565: error: 'socket' may be used
uninitialized in this function
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list