forked from enlightenment/enlightenment
e_fm: fix last commit to compile again with clang
Commit fd8d41a2a6
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;
This commit is contained in:
parent
fd8d41a2a6
commit
7bb858d2a3
|
@ -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)))
|
||||
|
|
Loading…
Reference in New Issue