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>
This commit is contained in:
Ville Syrjälä 2019-03-19 17:18:10 +02:00
parent 6f4972d5c3
commit e95490a788
1 changed files with 1 additions and 0 deletions

View File

@ -135,5 +135,6 @@ sna = static_library('sna',
'-Wno-unused-parameter',
'-Wno-sign-compare',
'-Wno-type-limits',
'-Wno-clobbered',
],
install : false)