summaryrefslogtreecommitdiff
path: root/src/modules/evas/image_savers
diff options
context:
space:
mode:
authorPawel Aksiutowicz <p.aksiutowic@partner.samsung.com>2017-12-11 17:17:04 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-11 17:18:55 +0900
commit5e3c641438721b7c009dd698d24d28eac694931a (patch)
tree59c37d9f70084d59a30fef24a82de0bcd3777f5b /src/modules/evas/image_savers
parenta9a31715d9c0218af7db35668a3fb651703cf140 (diff)
evas: removed "clobbered" warnings from image_savers/png/evas_image_save_png
Reviewers: stanluk, lukasz.stanislawski, cedric, jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5536
Diffstat (limited to 'src/modules/evas/image_savers')
-rw-r--r--src/modules/evas/image_savers/png/evas_image_save_png.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/evas/image_savers/png/evas_image_save_png.c b/src/modules/evas/image_savers/png/evas_image_save_png.c
index 301c072eaa..a34b0b9c58 100644
--- a/src/modules/evas/image_savers/png/evas_image_save_png.c
+++ b/src/modules/evas/image_savers/png/evas_image_save_png.c
@@ -32,8 +32,10 @@ save_image_png(RGBA_Image *im, const char *file, int do_compress, int interlace)
32 volatile png_bytep png_data = NULL; 32 volatile png_bytep png_data = NULL;
33 png_color_8 sig_bit = {}; 33 png_color_8 sig_bit = {};
34 int num_passes = 1, pass; 34 int num_passes = 1, pass;
35 Eina_Bool gry8 = EINA_FALSE, agry88 = EINA_FALSE, free_data = EINA_FALSE; 35 volatile Eina_Bool gry8 = EINA_FALSE;
36 int pixel_size = 4; 36 volatile Eina_Bool agry88 = EINA_FALSE;
37 volatile Eina_Bool free_data = EINA_FALSE;
38 volatile int pixel_size = 4;
37 39
38 if (!im || !im->image.data || !file) 40 if (!im || !im->image.data || !file)
39 return 0; 41 return 0;