summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2019-03-19 17:18:10 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2019-09-19 18:40:07 +0300
commite95490a7888ee1a5f08544778c6c11ad52182ad0 (patch)
treead1871ce449b93ed8ed125dba958d7e33d4c0530
parent6f4972d5c368c30e971a23c1dc370d3e43761282 (diff)
sna: Use -Wno-clobbered
../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ä <ville.syrjala@linux.intel.com>
-rw-r--r--src/sna/meson.build1
1 files changed, 1 insertions, 0 deletions
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)