[gstreamer-bugs] [Bug 333392] New: Some unused variables in sunaudio, build fails with (default) -Werror

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Mar 4 10:11:28 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=333392
 GStreamer | gst-plugins-good | Ver: HEAD CVS

           Summary: Some unused variables in sunaudio, build fails with
                    (default) -Werror
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ben.pineau at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi, the following patch is self explanatory:

Index: sys/sunaudio/gstsunaudiomixerctrl.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/sys/sunaudio/gstsunaudiomixerctrl.c,v
retrieving revision 1.2
diff -u -r1.2 gstsunaudiomixerctrl.c
--- sys/sunaudio/gstsunaudiomixerctrl.c 23 Jan 2006 11:06:34 -0000      1.2
+++ sys/sunaudio/gstsunaudiomixerctrl.c 4 Mar 2006 18:04:44 -0000
@@ -136,7 +136,6 @@
 gst_sunaudiomixer_ctrl_get_volume (GstSunAudioMixerCtrl * mixer,
     GstMixerTrack * track, gint * volumes)
 {
-  gint volume;
   struct audio_info audioinfo;
   GstSunAudioMixerTrack *sunaudiotrack = GST_SUNAUDIO_MIXER_TRACK (track);

@@ -168,7 +167,6 @@
     GstMixerTrack * track, gint * volumes)
 {
   gint volume;
-  gchar buf[100];
   struct audio_info audioinfo;
   GstSunAudioMixerTrack *sunaudiotrack = GST_SUNAUDIO_MIXER_TRACK (track);

Index: sys/sunaudio/gstsunaudiomixertrack.c
===================================================================
RCS file:
/cvs/gstreamer/gst-plugins-good/sys/sunaudio/gstsunaudiomixertrack.c,v
retrieving revision 1.1
diff -u -r1.1 gstsunaudiomixertrack.c
--- sys/sunaudio/gstsunaudiomixertrack.c        9 Jan 2006 17:04:52 -0000      
1.1
+++ sys/sunaudio/gstsunaudiomixertrack.c        4 Mar 2006 18:04:44 -0000
@@ -89,7 +89,6 @@
 {
   GstSunAudioMixerTrack *sunaudiotrack;
   GstMixerTrack *track;
-  gint volume;

   if (!labels)
     fill_labels ();


-- 
Configure bugmail: http://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