cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=57b5a237f2c677da375cae4cba498796bfa29d6e

commit 57b5a237f2c677da375cae4cba498796bfa29d6e
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Thu Dec 15 11:31:31 2016 -0800

    evas: silence warning of clobbered variable in the png saver.
---
 src/modules/evas/image_savers/png/evas_image_save_png.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 771fcea..e7149be 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
@@ -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;
 

-- 


Reply via email to