diff --git a/gst/gstdebugutils.c b/gst/gstdebugutils.c index 5f5af694d9..0e15797787 100644 --- a/gst/gstdebugutils.c +++ b/gst/gstdebugutils.c @@ -179,12 +179,11 @@ debug_dump_element_pad (GstPad * pad, GstElement * element, GstElement *target_element; GstPad *target_pad, *tmp_pad; GstPadDirection dir; - gchar *pad_name, *element_name; + gchar *element_name; gchar *target_element_name; gchar *color_name; dir = gst_pad_get_direction (pad); - pad_name = debug_dump_make_object_name (GST_OBJECT (pad)); element_name = debug_dump_make_object_name (GST_OBJECT (element)); if (GST_IS_GHOST_PAD (pad)) { color_name = diff --git a/gst/gstpad.c b/gst/gstpad.c index b966be4c4c..af65724d08 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -4067,7 +4067,6 @@ chain_groups: list = GST_BUFFER_LIST_CAST (data); it = gst_buffer_list_iterate (list); - ret = GST_FLOW_OK; if (gst_buffer_list_iterator_next_group (it)) { do { group = gst_buffer_list_iterator_merge_group (it); @@ -4275,7 +4274,6 @@ push_groups: list = GST_BUFFER_LIST_CAST (data); it = gst_buffer_list_iterate (list); - ret = GST_FLOW_OK; if (gst_buffer_list_iterator_next_group (it)) { do { group = gst_buffer_list_iterator_merge_group (it); diff --git a/gst/gsttask.c b/gst/gsttask.c index 5ab1c039b6..0dc90de34f 100644 --- a/gst/gsttask.c +++ b/gst/gsttask.c @@ -548,7 +548,6 @@ static gboolean start_task (GstTask * task) { gboolean res = TRUE; - GstTaskClass *tclass; GError *error = NULL; GstTaskPrivate *priv; @@ -561,8 +560,6 @@ start_task (GstTask * task) * and exit the task function. */ task->running = TRUE; - tclass = GST_TASK_GET_CLASS (task); - /* push on the thread pool, we remember the original pool because the user * could change it later on and then we join to the wrong pool. */ priv->pool_id = gst_object_ref (priv->pool);