summaryrefslogtreecommitdiff
path: root/src/modules/evas/image_savers
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-12-15 11:31:31 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-12-15 11:31:31 -0800
commit57b5a237f2c677da375cae4cba498796bfa29d6e (patch)
treea91df3c4f94f3046be57edda0353a6b8ae74b257 /src/modules/evas/image_savers
parent224ba8586b3cde4ed414e5a99b4edd9f812e8429 (diff)
evas: silence warning of clobbered variable in the png saver.
Diffstat (limited to 'src/modules/evas/image_savers')
-rw-r--r--src/modules/evas/image_savers/png/evas_image_save_png.c3
1 files changed, 2 insertions, 1 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 771fcea723..e7149be1e7 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)
28 png_infop info_ptr; 28 png_infop info_ptr;
29 DATA32 *ptr, *data = NULL; 29 DATA32 *ptr, *data = NULL;
30 unsigned int x, y, j; 30 unsigned int x, y, j;
31 png_bytep row_ptr, png_data = NULL; 31 png_bytep row_ptr;
32 volatile png_bytep png_data = NULL;
32 png_color_8 sig_bit; 33 png_color_8 sig_bit;
33 int num_passes = 1, pass; 34 int num_passes = 1, pass;
34 35