From 63030036ba3f70afed4cb717c4236071a16d3165 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Fri, 16 Sep 2016 21:55:33 +0000 Subject: [PATCH] Address warning: variable might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] git-svn-id: https://svn.eduke32.com/eduke32@5866 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/screenshot.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/polymer/eduke32/build/src/screenshot.c b/polymer/eduke32/build/src/screenshot.c index 0ff4736b1..a09056bf1 100644 --- a/polymer/eduke32/build/src/screenshot.c +++ b/polymer/eduke32/build/src/screenshot.c @@ -58,11 +58,11 @@ static int32_t screencapture_png(const char *filename, char inverseit, const cha # endif png_structp png_ptr; png_infop info_ptr; - png_colorp palette = NULL; - png_textp text = NULL; + png_colorp volatile palette = NULL; + png_textp volatile text = NULL; - png_bytep buf = NULL; - png_bytepp rowptrs = NULL; + png_bytep volatile buf = NULL; + png_bytepp volatile rowptrs = NULL; char fn[32]; // careful...