evas: removed "clobbered" warnings from image_savers/png/evas_image_save_png
authorPawel Aksiutowicz <p.aksiutowic@partner.samsung.com>
Mon, 11 Dec 2017 08:17:04 +0000 (17:17 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Mon, 11 Dec 2017 08:18:55 +0000 (17:18 +0900)
Reviewers: stanluk, lukasz.stanislawski, cedric, jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5536

src/modules/evas/image_savers/png/evas_image_save_png.c

index 301c072..a34b0b9 100644 (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;