[Intel-gfx] [PATCH xf86-video-intel 17/21] sna: Use -Wno-maybe-uninitialized

Ville Syrjala ville.syrjala at linux.intel.com
Thu Sep 19 16:31:09 UTC 2019


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

The compiler seems incapable of deducing whether something
is used uninitialized or not.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 src/sna/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/sna/meson.build b/src/sna/meson.build
index 9e4b69f45e55..7408f63c82db 100644
--- a/src/sna/meson.build
+++ b/src/sna/meson.build
@@ -132,6 +132,7 @@ sna = static_library('sna',
 		       '-Wno-unused-but-set-variable',
 		       '-Wno-expansion-to-defined',
 		       '-Wno-shift-negative-value',
+		       '-Wno-maybe-uninitialized',
 		       '-Wno-unused-parameter',
 		       '-Wno-unused-function',
 		       '-Wno-unused-variable',
-- 
2.21.0



More information about the Intel-gfx mailing list