diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2015-04-25 19:59:18 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-04-25 19:59:18 +0200 |
commit | d22155487b21d6910813ad0aa0d12b86fb7051b8 (patch) | |
tree | ae8706a200dc797e3276766d0a756a25c7e94918 | |
parent | 663bdcaf07a5d8550e6fe09d07a7089b1bb7a91c (diff) | |
download | efl-d22155487b21d6910813ad0aa0d12b86fb7051b8.tar.gz |
evas: get rid of clobbered warning.
-rw-r--r-- | src/modules/evas/image_loaders/png/evas_image_load_png.c | 10 |
1 files 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 a8e9aa3288..6b5395eada 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; |