forked from enlightenment/efl
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))
|
if (ecore_list_is_empty(list))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (!list->last)
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
old = list->last;
|
old = list->last;
|
||||||
if (list->current == old)
|
if (list->current == old)
|
||||||
list->current = NULL;
|
list->current = NULL;
|
||||||
|
|
Loading…
Reference in New Issue