eina: Eina_Inlist - remove obvious if() check.

Reviewers: seoz, raster, cedric

Reviewed By: cedric

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D1503
This commit is contained in:
Amitesh Singh 2014-09-29 19:47:09 +02:00 committed by Cedric BAIL
parent d25747c7f8
commit be7a64b6e3
1 changed files with 1 additions and 1 deletions

View File

@ -647,7 +647,7 @@ eina_inlist_sorted_insert(Eina_Inlist *list,
break ;
else if (cmp < 0)
inf = cur + 1;
else if (cmp > 0)
else
{
if (cur > 0)
sup = cur - 1;