summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-18 17:42:55 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-18 18:51:27 +0200
commit4a9e80720acc41d8f335220f36d0c7ab11f03f25 (patch)
tree06662c08797f16a635237742fa76f31973845fc3 /sys
parent06a4b80918eae60f34d3bae453b6f527ae4d09d3 (diff)
Remove unused variables in _class_init
Detected by LLVM's CLang static analyzer
Diffstat (limited to 'sys')
-rw-r--r--sys/oss/gstosssink.c4
-rw-r--r--sys/oss/gstosssrc.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/sys/oss/gstosssink.c b/sys/oss/gstosssink.c
index c508140c..d6731290 100644
--- a/sys/oss/gstosssink.c
+++ b/sys/oss/gstosssink.c
@@ -193,15 +193,11 @@ static void
gst_oss_sink_class_init (GstOssSinkClass * klass)
{
GObjectClass *gobject_class;
- GstElementClass *gstelement_class;
GstBaseSinkClass *gstbasesink_class;
- GstBaseAudioSinkClass *gstbaseaudiosink_class;
GstAudioSinkClass *gstaudiosink_class;
gobject_class = (GObjectClass *) klass;
- gstelement_class = (GstElementClass *) klass;
gstbasesink_class = (GstBaseSinkClass *) klass;
- gstbaseaudiosink_class = (GstBaseAudioSinkClass *) klass;
gstaudiosink_class = (GstAudioSinkClass *) klass;
parent_class = g_type_class_peek_parent (klass);
diff --git a/sys/oss/gstosssrc.c b/sys/oss/gstosssrc.c
index 026ba2a4..2d7fd7b4 100644
--- a/sys/oss/gstosssrc.c
+++ b/sys/oss/gstosssrc.c
@@ -147,15 +147,11 @@ static void
gst_oss_src_class_init (GstOssSrcClass * klass)
{
GObjectClass *gobject_class;
- GstElementClass *gstelement_class;
GstBaseSrcClass *gstbasesrc_class;
- GstBaseAudioSrcClass *gstbaseaudiosrc_class;
GstAudioSrcClass *gstaudiosrc_class;
gobject_class = (GObjectClass *) klass;
- gstelement_class = (GstElementClass *) klass;
gstbasesrc_class = (GstBaseSrcClass *) klass;
- gstbaseaudiosrc_class = (GstBaseAudioSrcClass *) klass;
gstaudiosrc_class = (GstAudioSrcClass *) klass;
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_oss_src_dispose);