cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d22155487b21d6910813ad0aa0d12b86fb7051b8

commit d22155487b21d6910813ad0aa0d12b86fb7051b8
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Sat Apr 25 19:59:18 2015 +0200

    evas: get rid of clobbered warning.
---
 src/modules/evas/image_loaders/png/evas_image_load_png.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/modules/evas/image_loaders/png/evas_image_load_png.c 
b/src/modules/evas/image_loaders/png/evas_image_load_png.c
index a8e9aa3..6b5395e 100644
--- a/src/modules/evas/image_loaders/png/evas_image_load_png.c
+++ b/src/modules/evas/image_loaders/png/evas_image_load_png.c
@@ -94,7 +94,7 @@ evas_image_load_file_head_png(void *loader_data,
    png_uint_32 w32, h32;
    int bit_depth, color_type, interlace_type;
    char hasa;
-   Eina_Bool r = EINA_FALSE;
+   volatile Eina_Bool r = EINA_FALSE;
 
    opts = loader->opts;
    f = loader->f;
@@ -218,10 +218,12 @@ evas_image_load_file_data_png(void *loader_data,
    unsigned int pack_offset;
    int w, h;
    int bit_depth, color_type, interlace_type;
-   char hasa, passes;
+   volatile char hasa;
+   char passes;
    int i, j, p, k;
-   int scale_ratio = 1, image_w = 0, image_h = 0;
-   Eina_Bool r = EINA_FALSE;
+   volatile int scale_ratio = 1;
+   int image_w = 0, image_h = 0;
+   volatile Eina_Bool r = EINA_FALSE;
 
    opts = loader->opts;
    f = loader->f;

-- 


Reply via email to