[Bug 676572] New: A small fix for unused variables...

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue May 22 08:28:48 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=676572
  GStreamer | gstreamer (core) | git

           Summary: A small fix for unused variables...
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: sebras at hotmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


When trying to compile gstreamer from git with warnings
for unused variables compilation fails:

CFLAGS="-Wunused-variable" ./autogen.sh; make install
....
make[3]: Entering directory `/home/sebrn/src/upstream/gstreamer/gst'
  CC     libgstreamer_1.0_la-gstbufferpool.lo
gstbufferpool.c: In function ‘mark_meta_pooled’:
gstbufferpool.c:240:18: error: unused variable ‘pool’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
....
make[2]: Entering directory
`/home/sebrn/src/upstream/gstreamer/plugins/elements'
  CC     libgstcoreelements_la-gstqueue.lo
gstqueue.c: In function ‘gst_queue_locked_dequeue’:
gstqueue.c:676:15: error: unused variable ‘query’ [-Werror=unused-variable]
gstqueue.c: In function ‘gst_queue_push_one’:
gstqueue.c:1063:21: error: unused variable ‘query’ [-Werror=unused-variable]
cc1: all warnings being treated as errors

-- 
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