cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=be7a64b6e35b9dab824242f2144519d013b4df94

commit be7a64b6e35b9dab824242f2144519d013b4df94
Author: Amitesh Singh <[email protected]>
Date:   Mon Sep 29 19:47:09 2014 +0200

    eina: Eina_Inlist - remove obvious if() check.
    
    Reviewers: seoz, raster, cedric
    
    Reviewed By: cedric
    
    Subscribers: cedric, seoz
    
    Differential Revision: https://phab.enlightenment.org/D1503
---
 src/lib/eina/eina_inlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_inlist.c b/src/lib/eina/eina_inlist.c
index 9b73ef4..7496c51 100644
--- a/src/lib/eina/eina_inlist.c
+++ b/src/lib/eina/eina_inlist.c
@@ -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;

-- 


Reply via email to