summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-25 19:59:18 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-25 19:59:18 +0200
commitd22155487b21d6910813ad0aa0d12b86fb7051b8 (patch)
treeae8706a200dc797e3276766d0a756a25c7e94918
parent663bdcaf07a5d8550e6fe09d07a7089b1bb7a91c (diff)
downloadefl-d22155487b21d6910813ad0aa0d12b86fb7051b8.tar.gz
evas: get rid of clobbered warning.
-rw-r--r--src/modules/evas/image_loaders/png/evas_image_load_png.c10
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;