From: Ville Syrjälä <[email protected]>

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

Signed-off-by: Ville Syrjälä <[email protected]>
---
 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

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to