forked from enlightenment/enlightenment
e_module: Remove dead code after return statement.
Never executed as we retrun before in any case. CID 1039762
This commit is contained in:
parent
5bfbe933fe
commit
47d2987208
|
@ -39,13 +39,9 @@ static Eina_Bool
|
||||||
_module_filter_cb(void *d EINA_UNUSED, Eio_File *ls EINA_UNUSED, const Eina_File_Direct_Info *info)
|
_module_filter_cb(void *d EINA_UNUSED, Eio_File *ls EINA_UNUSED, const Eina_File_Direct_Info *info)
|
||||||
{
|
{
|
||||||
struct stat st;
|
struct stat st;
|
||||||
char buf[PATH_MAX];
|
|
||||||
|
|
||||||
if (lstat(info->path, &st)) return EINA_FALSE;
|
if (lstat(info->path, &st)) return EINA_FALSE;
|
||||||
return (info->path[info->name_start] != '.');
|
return (info->path[info->name_start] != '.');
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), "%s/%s/module.so", info->path, MODULE_ARCH);
|
|
||||||
return ecore_file_exists(buf);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue