From: Sebastian Dransfeld Date: Sun, 21 Jan 2007 12:48:03 +0000 (+0000) Subject: No need to check this, a non-empty list must have a first pointer. X-Git-Tag: submit/devel/efl/20131022.203902~18919 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=543261162a6583e23fa8ac6be2846a93ba413416;p=platform%2Fupstream%2Fefl.git No need to check this, a non-empty list must have a first pointer. SVN revision: 28090 --- diff --git a/legacy/ecore/src/lib/ecore/ecore_list.c b/legacy/ecore/src/lib/ecore/ecore_list.c index 4795091..f26c75c 100644 --- a/legacy/ecore/src/lib/ecore/ecore_list.c +++ b/legacy/ecore/src/lib/ecore/ecore_list.c @@ -675,9 +675,6 @@ _ecore_list_remove_first(Ecore_List *list) if (ecore_list_is_empty(list)) return NULL; - if (!list->first) - return NULL; - old = list->first; list->first = list->first->next;