Remove this check, it can hide bugs. A non-empty list should always

have a last pointer.


SVN revision: 27949
This commit is contained in:
Sebastian Dransfeld 2007-01-13 17:51:10 +00:00
parent d3879bf88b
commit 3497296e2f
1 changed files with 0 additions and 3 deletions

View File

@ -665,9 +665,6 @@ _ecore_list_remove_last(Ecore_List *list)
if (ecore_list_is_empty(list))
return NULL;
if (!list->last)
return NULL;
old = list->last;
if (list->current == old)
list->current = NULL;