eet dictionary - remove impossible code
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 27 Aug 2014 03:12:40 +0000 (12:12 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 27 Aug 2014 03:12:40 +0000 (12:12 +0900)
CID 1039464 knows full well our comments there are right - so remove
pointless code

src/lib/eet/eet_dictionary.c

index d0583be..9240204 100644 (file)
@@ -78,14 +78,6 @@ _eet_dictionary_lookup(Eet_Dictionary *ed,
         current = ed->all[current].next;
      }
 
-   if ((current == -1) && found)
-     {
-        // WTF ?!? How can current == -1 and found == EINA_TRUE
-        // If you happen to trigger this abort, contact enlightenment developer mailing list
-        abort();
-        return prev;
-     }
-
    if (previous) *previous = prev;
    return current;
 }