summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike McCormack <mikem@atratus.org>2012-12-02 20:33:55 +0000
committerMike McCormack <mikem@ring3k.org>2012-12-02 20:33:55 +0000
commit1eac4b2f476d6484fd606ae3c84881a3c29ac09e (patch)
tree0d695efaa924a53683a3f2621fc6ae2a60a355de
parente7a7c3b44c9ef95857ca36c564bb9b3535a47c49 (diff)
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
-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;