GESTimeline: Remove useless variable

This commit is contained in:
Edward Hervey 2010-12-16 12:46:48 +01:00
parent 5a170091e6
commit 4028baaa5b

View file

@ -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,