Enlightenment CVS committal

Author  : cedric
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/data


Modified Files:
        evas_hash.c 


Log Message:
Their is no more allocation with evas_object_list. Remove useless test.


===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/data/evas_hash.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- evas_hash.c 8 Feb 2008 19:55:02 -0000       1.23
+++ evas_hash.c 21 May 2008 12:23:47 -0000      1.24
@@ -113,12 +113,6 @@
    el->data = (void *)data;
    hash_num = _evas_hash_gen(key);
    hash->buckets[hash_num] = evas_object_list_prepend(hash->buckets[hash_num], 
el);
-   if (evas_list_alloc_error())
-     {
-       _evas_hash_alloc_error = 1;
-       free(el);
-       return hash;
-     }
    hash->population++;
    return hash;
 }
@@ -177,12 +171,6 @@
    el->data = (void *)data;
    hash_num = _evas_hash_gen(key);
    hash->buckets[hash_num] = evas_object_list_prepend(hash->buckets[hash_num], 
el);
-   if (evas_list_alloc_error())
-     {
-       _evas_hash_alloc_error = 1;
-       free(el);
-       return hash;
-     }
    hash->population++;
    return hash;
 }



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to