[farsight2/master] Remove unused variable when debug disabled

Olivier Crête olivier.crete at collabora.co.uk
Thu May 7 10:51:20 PDT 2009


---
 gst/funnel/fs-funnel.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/gst/funnel/fs-funnel.c b/gst/funnel/fs-funnel.c
index fd54460..0f2e927 100644
--- a/gst/funnel/fs-funnel.c
+++ b/gst/funnel/fs-funnel.c
@@ -151,10 +151,9 @@ fs_funnel_request_new_pad (GstElement * element, GstPadTemplate * templ,
   const gchar * name)
 {
   GstPad *sinkpad;
-  FsFunnel *funnel = FS_FUNNEL (element);
   FsFunnelPadPrivate *priv = g_slice_alloc0 (sizeof(FsFunnelPadPrivate));
 
-  GST_DEBUG_OBJECT (funnel, "requesting pad");
+  GST_DEBUG_OBJECT (element, "requesting pad");
 
   sinkpad = gst_pad_new_from_template (templ, name);
 
-- 
1.5.6.5



More information about the farsight-commits mailing list