summaryrefslogtreecommitdiff
path: root/legacy/eet/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-03-29 13:48:53 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-03-29 13:48:53 +0000
commitf7657f9f5b8c6a5bcd84ae3b399a3986aba3381b (patch)
treeee01d0293a24d93fe0df6aae77d4f54af52fa195 /legacy/eet/src
parenta5ba62c893ed79149659c760b2cf5bcfb99f21d1 (diff)
eet: always set size.
SVN revision: 69753
Diffstat (limited to 'legacy/eet/src')
-rw-r--r--legacy/eet/src/lib/eet_lib.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/legacy/eet/src/lib/eet_lib.c b/legacy/eet/src/lib/eet_lib.c
index 04feebe487..a356a2b921 100644
--- a/legacy/eet/src/lib/eet_lib.c
+++ b/legacy/eet/src/lib/eet_lib.c
@@ -1413,7 +1413,10 @@ eet_open(const char *file,
1413 /* Prevent garbage in futur comparison. */ 1413 /* Prevent garbage in futur comparison. */
1414 fp = eina_file_open(file, EINA_FALSE); 1414 fp = eina_file_open(file, EINA_FALSE);
1415 if (!fp) 1415 if (!fp)
1416 goto open_error; 1416 {
1417 size = 0;
1418 goto open_error;
1419 }
1417 1420
1418 size = eina_file_size_get(fp); 1421 size = eina_file_size_get(fp);
1419 1422