summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-01-14 03:28:27 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-01-14 03:28:27 +0000
commit0750dea178cd5d9c4fadd7b740573f13ee25bf16 (patch)
treee5ff799bdada9ba16bd22b12d0da547d0637a91f
parent158e2850cdcc14f23ea8a17e7a75e91eb83e53c8 (diff)
if alloca fails you're screwed anyway, so not much point checking for it
SVN revision: 56089
-rw-r--r--src/lib/eina_module.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/eina_module.c b/src/lib/eina_module.c
index 1c6d70f..e2ca522 100644
--- a/src/lib/eina_module.c
+++ b/src/lib/eina_module.c
@@ -143,8 +143,6 @@ static void _dir_list_cb(const char *name, const char *path, void *data)
143 length = strlen(path) + strlen(name) + 2; 143 length = strlen(path) + strlen(name) + 2;
144 144
145 file = alloca(sizeof (char) * length); 145 file = alloca(sizeof (char) * length);
146 if (!file)
147 return;
148 146
149 snprintf(file, length, "%s/%s", path, name); 147 snprintf(file, length, "%s/%s", path, name);
150 m = eina_module_new(file); 148 m = eina_module_new(file);