From 4028baaa5bdef0cc1d1bed7a4474c7ad4d5b7aa7 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 16 Dec 2010 12:46:48 +0100 Subject: [PATCH] GESTimeline: Remove useless variable --- ges/ges-timeline.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ges/ges-timeline.c b/ges/ges-timeline.c index 584598c80d..66383a63e4 100644 --- a/ges/ges-timeline.c +++ b/ges/ges-timeline.c @@ -551,7 +551,7 @@ static void layer_object_removed_cb (GESTimelineLayer * layer, GESTimelineObject * object, GESTimeline * timeline) { - GList *tmp, *next, *trackobjects; + GList *tmp, *trackobjects; GST_DEBUG ("TimelineObject %p removed from layer %p", object, layer); @@ -562,8 +562,6 @@ layer_object_removed_cb (GESTimelineLayer * layer, GESTimelineObject * object, for (tmp = trackobjects; tmp; tmp = tmp->next) { GESTrackObject *trobj = (GESTrackObject *) tmp->data; - next = g_list_next (tmp); - GST_DEBUG ("Trying to remove TrackObject %p", trobj); if (G_LIKELY (g_list_find_custom (timeline->tracks, (gconstpointer) trobj->track,