edje: don't return a boolean when a pointer is expected
authorJean Guyomarc'h <jean@guyomarch.bzh>
Sat, 4 Jun 2016 14:51:38 +0000 (16:51 +0200)
committerJean Guyomarc'h <jean@guyomarch.bzh>
Sat, 4 Jun 2016 14:51:38 +0000 (16:51 +0200)
Fix a warning thrown by Apple-llvm.

src/lib/edje/edje_edit.c

index a231ed0..f482f28 100644 (file)
@@ -5280,7 +5280,7 @@ edje_edit_part_item_index_name_get(Evas_Object *obj, const char *part, unsigned
        (rp->part->type != EDJE_PART_TYPE_TABLE))
      return NULL;
    if (rp->part->items_count < index)
-     return EINA_FALSE;
+     return NULL;
 
    ep = rp->part;