eina: Eina_List - remove obvious if() check.
Summary: if (cmp == 0) - in false branch, cmp can not be equal to 0 else if (cmp < 0) - in false branch, cmp is atleast 1. else if (cmp > 0) - it is abvious that cmp > 0. Reviewers: cedric, seoz, raster Subscribers: cedric, seoz Differential Revision: https://phab.enlightenment.org/D1502 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
b551593087
commit
d25747c7f8
|
@ -1429,7 +1429,7 @@ eina_list_search_sorted_near_list(const Eina_List *list,
|
|||
break;
|
||||
else if (cmp < 0)
|
||||
inf = cur + 1;
|
||||
else if (cmp > 0)
|
||||
else
|
||||
{
|
||||
if (cur > 0)
|
||||
sup = cur - 1;
|
||||
|
|
Loading…
Reference in New Issue