efl: Fix warning

lib/evas/cache/evas_cache_image.c:573:4: warning: missing braces around initializer [-Wmissing-braces]

Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 79987
This commit is contained in:
Mike McCormack 2012-12-02 20:33:55 +00:00 committed by Mike McCormack
parent e7a7c3b44c
commit 1eac4b2f47
1 changed files with 3 additions and 1 deletions

View File

@ -570,7 +570,7 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
const char *ckey = "(null)";
char *hkey;
Image_Entry *im;
Evas_Image_Load_Opts prevent = { 0, 0.0, 0, 0, 0, { 0, 0, 0, 0 }, EINA_FALSE };
Evas_Image_Load_Opts prevent;
size_t size;
int stat_done = 0, stat_failed = 0;
size_t file_length;
@ -584,6 +584,8 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
return NULL;
}
memset(&prevent, 0, sizeof prevent);
/* generate hkey from file+key+load opts */
file_length = strlen(file);
key_length = key ? strlen(key) : 6;