eet: always set size.

SVN revision: 69753
This commit is contained in:
Cedric BAIL 2012-03-29 13:48:53 +00:00
parent a5ba62c893
commit f7657f9f5b
1 changed files with 4 additions and 1 deletions

View File

@ -1413,7 +1413,10 @@ eet_open(const char *file,
/* Prevent garbage in futur comparison. */
fp = eina_file_open(file, EINA_FALSE);
if (!fp)
goto open_error;
{
size = 0;
goto open_error;
}
size = eina_file_size_get(fp);