Already did this test ~10 lines up.

SVN revision: 28091
This commit is contained in:
Sebastian Dransfeld 2007-01-21 13:53:06 +00:00
parent 543261162a
commit fe6c018abe
1 changed files with 1 additions and 5 deletions

View File

@ -736,11 +736,7 @@ _ecore_list_remove_last(Ecore_List *list)
for (prev = list->first; prev && prev->next != old; prev = prev->next);
list->last = prev;
if (prev)
{
prev->next = NULL;
if (list->current == old)
list->current = NULL;
}
prev->next = NULL;
if (old)
{