if alloca fails you're screwed anyway, so not much point checking for it
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 14 Jan 2011 03:28:27 +0000 (03:28 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 14 Jan 2011 03:28:27 +0000 (03:28 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@56089 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eina_module.c

index 1c6d70f..e2ca522 100644 (file)
@@ -143,8 +143,6 @@ static void _dir_list_cb(const char *name, const char *path, void *data)
         length = strlen(path) + strlen(name) + 2;
 
         file = alloca(sizeof (char) * length);
-        if (!file)
-           return;
 
         snprintf(file, length, "%s/%s", path, name);
         m = eina_module_new(file);