From 32fa778b5c136929805b3cb534a2bc61867b8e81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 26 Sep 2011 16:07:54 +0200 Subject: [PATCH] lame: Fix variable 'gstelement_class' set but not used compiler warning --- ext/lame/gstlame.c | 2 -- ext/lame/gstlamemp3enc.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/ext/lame/gstlame.c b/ext/lame/gstlame.c index c9616f7d45..5923ee0b44 100644 --- a/ext/lame/gstlame.c +++ b/ext/lame/gstlame.c @@ -368,11 +368,9 @@ static void gst_lame_class_init (GstLameClass * klass) { GObjectClass *gobject_class; - GstElementClass *gstelement_class; GstAudioEncoderClass *base_class; gobject_class = (GObjectClass *) klass; - gstelement_class = (GstElementClass *) klass; base_class = (GstAudioEncoderClass *) klass; parent_class = g_type_class_peek_parent (klass); diff --git a/ext/lame/gstlamemp3enc.c b/ext/lame/gstlamemp3enc.c index e1692204ea..aec0f392c0 100644 --- a/ext/lame/gstlamemp3enc.c +++ b/ext/lame/gstlamemp3enc.c @@ -229,11 +229,9 @@ static void gst_lamemp3enc_class_init (GstLameMP3EncClass * klass) { GObjectClass *gobject_class; - GstElementClass *gstelement_class; GstAudioEncoderClass *base_class; gobject_class = (GObjectClass *) klass; - gstelement_class = (GstElementClass *) klass; base_class = (GstAudioEncoderClass *) klass; parent_class = g_type_class_peek_parent (klass);