From e95490a7888ee1a5f08544778c6c11ad52182ad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= Date: Tue, 19 Mar 2019 17:18:10 +0200 Subject: sna: Use -Wno-clobbered MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ../src/sna/sna_composite.c:567:11: warning: variable ‘sx’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] int16_t sx = src_x + tx - (dst->pDrawable->x + dst_x); ^~ etc. I had a quick look at a few of the cases and they seemed fine to me, so feels like gcc just being dense. Signed-off-by: Ville Syrjälä --- src/sna/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sna/meson.build b/src/sna/meson.build index 5631d4d8..4af181f3 100644 --- a/src/sna/meson.build +++ b/src/sna/meson.build @@ -135,5 +135,6 @@ sna = static_library('sna', '-Wno-unused-parameter', '-Wno-sign-compare', '-Wno-type-limits', + '-Wno-clobbered', ], install : false) -- cgit v1.2.3