From f3a358158aa21124252284c53fa6fe5635dde408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 19 Jun 2009 13:42:45 +0100 Subject: [PATCH] taskpool: fix unused variable warning in case debugging is disabled --- gst/gsttaskpool.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gst/gsttaskpool.c b/gst/gsttaskpool.c index e17af0bfbb..4c35436c76 100644 --- a/gst/gsttaskpool.c +++ b/gst/gsttaskpool.c @@ -144,9 +144,7 @@ gst_task_pool_init (GstTaskPool * pool) static void gst_task_pool_finalize (GObject * object) { - GstTaskPool *pool = GST_TASK_POOL (object); - - GST_DEBUG ("taskpool %p finalize", pool); + GST_DEBUG ("taskpool %p finalize", object); G_OBJECT_CLASS (gst_task_pool_parent_class)->finalize (object); }