forked from enlightenment/efl
* eina: Handle NULL in eina_list_search_sorted_near_list.
SVN revision: 41467
This commit is contained in:
parent
1ef8e96d05
commit
e75b89d50c
|
@ -1649,6 +1649,8 @@ eina_list_search_sorted_near_list(const Eina_List *list, Eina_Compare_Cb func, c
|
|||
unsigned int inf, sup, cur, tmp;
|
||||
int part;
|
||||
|
||||
if (!list) return NULL;
|
||||
|
||||
inf = 0;
|
||||
sup = eina_list_count(list) ;
|
||||
cur = sup >> 1;
|
||||
|
|
Loading…
Reference in New Issue