summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/cache/evas_cache_image.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/evas/cache/evas_cache_image.c b/src/lib/evas/cache/evas_cache_image.c
index 681e6af43e..f7d92d9ac1 100644
--- a/src/lib/evas/cache/evas_cache_image.c
+++ b/src/lib/evas/cache/evas_cache_image.c
@@ -570,7 +570,7 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
570 const char *ckey = "(null)"; 570 const char *ckey = "(null)";
571 char *hkey; 571 char *hkey;
572 Image_Entry *im; 572 Image_Entry *im;
573 Evas_Image_Load_Opts prevent = { 0, 0.0, 0, 0, 0, { 0, 0, 0, 0 }, EINA_FALSE }; 573 Evas_Image_Load_Opts prevent;
574 size_t size; 574 size_t size;
575 int stat_done = 0, stat_failed = 0; 575 int stat_done = 0, stat_failed = 0;
576 size_t file_length; 576 size_t file_length;
@@ -584,6 +584,8 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
584 return NULL; 584 return NULL;
585 } 585 }
586 586
587 memset(&prevent, 0, sizeof prevent);
588
587 /* generate hkey from file+key+load opts */ 589 /* generate hkey from file+key+load opts */
588 file_length = strlen(file); 590 file_length = strlen(file);
589 key_length = key ? strlen(key) : 6; 591 key_length = key ? strlen(key) : 6;