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:
parent
d3879bf88b
commit
3497296e2f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue