[0.11] gst-plugins-good: waveformsink: fix compiler warnings with MingW

Sebastian Dröge slomo at kemper.freedesktop.org
Tue Jan 10 05:33:27 PST 2012


Module: gst-plugins-good
Branch: 0.11
Commit: 2be912cb4559d85756a22e3e04cd4e609779f089
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=2be912cb4559d85756a22e3e04cd4e609779f089

Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Tue Dec 27 22:59:03 2011 +0000

waveformsink: fix compiler warnings with MingW

https://bugzilla.gnome.org/show_bug.cgi?id=666485

---

 sys/waveform/gstwaveformsink.c |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/sys/waveform/gstwaveformsink.c b/sys/waveform/gstwaveformsink.c
index 492742b..83fe749 100644
--- a/sys/waveform/gstwaveformsink.c
+++ b/sys/waveform/gstwaveformsink.c
@@ -49,10 +49,6 @@
 
 GST_DEBUG_CATEGORY_STATIC (waveformsink_debug);
 
-static void gst_waveform_sink_base_init (gpointer g_class);
-static void gst_waveform_sink_class_init (GstWaveFormSinkClass * klass);
-static void gst_waveform_sink_init (GstWaveFormSink * wfsink,
-    GstWaveFormSinkClass * g_class);
 static void gst_waveform_sink_finalise (GObject * object);
 static void gst_waveform_sink_set_property (GObject * object,
     guint prop_id, const GValue * value, GParamSpec * pspec);
@@ -154,7 +150,7 @@ static void
 gst_waveform_sink_set_property (GObject * object, guint prop_id,
     const GValue * value, GParamSpec * pspec)
 {
-  GstWaveFormSink *wfsink = GST_WAVEFORM_SINK (object);
+  /* GstWaveFormSink *wfsink = GST_WAVEFORM_SINK (object); */
 
   switch (prop_id) {
     default:
@@ -167,7 +163,7 @@ static void
 gst_waveform_sink_get_property (GObject * object, guint prop_id,
     GValue * value, GParamSpec * pspec)
 {
-  GstWaveFormSink *wfsink = GST_WAVEFORM_SINK (object);
+  /* GstWaveFormSink *wfsink = GST_WAVEFORM_SINK (object); */
 
   switch (prop_id) {
     default:
@@ -348,7 +344,7 @@ gst_waveform_sink_getcaps (GstBaseSink * bsink)
 static gboolean
 gst_waveform_sink_open (GstAudioSink * asink)
 {
-  GstWaveFormSink *wfsink = GST_WAVEFORM_SINK (asink);
+  /* GstWaveFormSink *wfsink = GST_WAVEFORM_SINK (asink); */
 
   /* nothing to do here as the device needs to be opened with the format we will use */
 
@@ -448,7 +444,7 @@ gst_waveform_sink_unprepare (GstAudioSink * asink)
 static gboolean
 gst_waveform_sink_close (GstAudioSink * asink)
 {
-  GstWaveFormSink *wfsink = GST_WAVEFORM_SINK (asink);
+  /* GstWaveFormSink *wfsink = GST_WAVEFORM_SINK (asink); */
 
   return TRUE;
 }



More information about the gstreamer-commits mailing list