evas: silence warning of clobbered variable in the png saver.
authorCedric BAIL <cedric@osg.samsung.com>
Thu, 15 Dec 2016 19:31:31 +0000 (11:31 -0800)
committerCedric BAIL <cedric@osg.samsung.com>
Thu, 15 Dec 2016 19:31:31 +0000 (11:31 -0800)
src/modules/evas/image_savers/png/evas_image_save_png.c

index 771fcea723ddf9e28da75a27fb4a66d7b78d96d0..e7149be1e706d54606b990f531324ec9cb25cb4e 100644 (file)
@@ -28,7 +28,8 @@ save_image_png(RGBA_Image *im, const char *file, int do_compress, int interlace)
    png_infop           info_ptr;
    DATA32             *ptr, *data = NULL;
    unsigned int        x, y, j;
-   png_bytep           row_ptr, png_data = NULL;
+   png_bytep           row_ptr;
+   volatile png_bytep  png_data = NULL;
    png_color_8         sig_bit;
    int                 num_passes = 1, pass;