summaryrefslogtreecommitdiff
path: root/src/modules
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 /src/modules
parent663bdcaf07a5d8550e6fe09d07a7089b1bb7a91c (diff)
evas: get rid of clobbered warning.
Diffstat (limited to 'src/modules')
-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 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,
94 png_uint_32 w32, h32; 94 png_uint_32 w32, h32;
95 int bit_depth, color_type, interlace_type; 95 int bit_depth, color_type, interlace_type;
96 char hasa; 96 char hasa;
97 Eina_Bool r = EINA_FALSE; 97 volatile Eina_Bool r = EINA_FALSE;
98 98
99 opts = loader->opts; 99 opts = loader->opts;
100 f = loader->f; 100 f = loader->f;
@@ -218,10 +218,12 @@ evas_image_load_file_data_png(void *loader_data,
218 unsigned int pack_offset; 218 unsigned int pack_offset;
219 int w, h; 219 int w, h;
220 int bit_depth, color_type, interlace_type; 220 int bit_depth, color_type, interlace_type;
221 char hasa, passes; 221 volatile char hasa;
222 char passes;
222 int i, j, p, k; 223 int i, j, p, k;
223 int scale_ratio = 1, image_w = 0, image_h = 0; 224 volatile int scale_ratio = 1;
224 Eina_Bool r = EINA_FALSE; 225 int image_w = 0, image_h = 0;
226 volatile Eina_Bool r = EINA_FALSE;
225 227
226 opts = loader->opts; 228 opts = loader->opts;
227 f = loader->f; 229 f = loader->f;