Eolian: Fix clang warnings
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 21 Apr 2015 09:41:48 +0000 (18:41 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 21 Apr 2015 11:11:01 +0000 (20:11 +0900)
Return proper type (NULL, not bool)

src/lib/eolian/database_function_api.c

index fbe1e1c..fd78fef 100644 (file)
@@ -253,7 +253,7 @@ eolian_function_object_is_const(const Eolian_Function *fid)
 EAPI const Eolian_Class *
 eolian_function_class_get(const Eolian_Function *fid)
 {
-   EINA_SAFETY_ON_NULL_RETURN_VAL(fid, EINA_FALSE);
+   EINA_SAFETY_ON_NULL_RETURN_VAL(fid, NULL);
    return fid->klass;
 }