stefan pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=7bb858d2a38d54a3bf18baa6d24f07b951271a96
commit 7bb858d2a38d54a3bf18baa6d24f07b951271a96 Author: Stefan Schmidt <[email protected]> Date: Mon Oct 31 11:03:44 2016 +0100 e_fm: fix last commit to compile again with clang Commit fd8d41a2a6f1dc374932f18e69daf485c1cb5a3e introduced a void return in a non void function. On gcc this only produced a warnigns but it was a hard error on clang and should be fixed. 00:25:24.906 src/bin/e_fm.c:1523:15: error: non-void function 'e_fm2_icon_file_get' should return a value [-Wreturn-type] 00:25:24.950 if (!file) return; --- src/bin/e_fm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index ef8dad0..0358ed0 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -1520,7 +1520,7 @@ e_fm2_icon_file_get(Evas_Object *obj, const char *file) E_Fm2_Icon *ic; EFM_SMART_CHECK(NULL); - if (!file) return; + if (!file) return NULL; EINA_LIST_FOREACH(sd->icons, l, ic) { if ((ic->info.file) && (!strcmp(ic->info.file, file))) --
