forked from enlightenment/efl
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:
parent
e7a7c3b44c
commit
1eac4b2f47
|
@ -570,7 +570,7 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
|
||||||
const char *ckey = "(null)";
|
const char *ckey = "(null)";
|
||||||
char *hkey;
|
char *hkey;
|
||||||
Image_Entry *im;
|
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;
|
size_t size;
|
||||||
int stat_done = 0, stat_failed = 0;
|
int stat_done = 0, stat_failed = 0;
|
||||||
size_t file_length;
|
size_t file_length;
|
||||||
|
@ -584,6 +584,8 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memset(&prevent, 0, sizeof prevent);
|
||||||
|
|
||||||
/* generate hkey from file+key+load opts */
|
/* generate hkey from file+key+load opts */
|
||||||
file_length = strlen(file);
|
file_length = strlen(file);
|
||||||
key_length = key ? strlen(key) : 6;
|
key_length = key ? strlen(key) : 6;
|
||||||
|
|
Loading…
Reference in New Issue