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
This commit is contained in:
Pawel Aksiutowicz 2017-12-11 17:17:04 +09:00 committed by Jean-Philippe Andre
parent a9a31715d9
commit 5e3c641438
1 changed files with 4 additions and 2 deletions

View File

@ -32,8 +32,10 @@ save_image_png(RGBA_Image *im, const char *file, int do_compress, int interlace)
volatile png_bytep png_data = NULL;
png_color_8 sig_bit = {};
int num_passes = 1, pass;
Eina_Bool gry8 = EINA_FALSE, agry88 = EINA_FALSE, free_data = EINA_FALSE;
int pixel_size = 4;
volatile Eina_Bool gry8 = EINA_FALSE;
volatile Eina_Bool agry88 = EINA_FALSE;
volatile Eina_Bool free_data = EINA_FALSE;
volatile int pixel_size = 4;
if (!im || !im->image.data || !file)
return 0;