jpeg pushed a commit to branch master.

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

commit 73c96c0136353264a2e861ec95253de66f3ef246
Author: Jean-Philippe Andre <[email protected]>
Date:   Fri Jul 8 12:26:07 2016 +0900

    eo: Fix warnins (return NULL instead of bool)
---
 src/lib/eo/eo_base_class.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 3a7f0a3..2e2fe3f 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -178,7 +178,7 @@ _key_generic_set(const Eo *obj, Eo_Base_Data *pd, const 
char *key, const void *d
              if (!strcmp(node->key, key))
                {
                   if ((node->d_type == d_type) && (node->d.ptr == data))
-                     return EINA_FALSE;
+                     return NULL;
                   ext->generic_data = eina_inlist_remove
                     (ext->generic_data, EINA_INLIST_GET(node));
                   _eo_generic_data_node_free(node);
@@ -192,7 +192,7 @@ _key_generic_set(const Eo *obj, Eo_Base_Data *pd, const 
char *key, const void *d
    if (ext)
      {
         node = calloc(1, sizeof(Eo_Generic_Data_Node));
-        if (!node) return EINA_FALSE;
+        if (!node) return NULL;
         node->obj = obj;
         node->key = eina_stringshare_add(key);
         node->d.ptr = (void *) data;

-- 


Reply via email to