[gnome-software: 3/4] build: Enable -Wmaybe-uninitialized by default




commit 4dc60a52d8a19912e8cca03b2db16b18ffb3f542
Author: Philip Withnall <pwithnall endlessos org>
Date:   Fri Aug 13 16:29:15 2021 +0100

    build: Enable -Wmaybe-uninitialized by default
    
    So that hopefully we don’t miss those warnings in future.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index b4a26ae3b..db13b1aa3 100644
--- a/meson.build
+++ b/meson.build
@@ -51,6 +51,7 @@ test_args = [
   '-Werror=implicit-function-declaration',
   '-Winit-self',
   '-Winline',
+  '-Wmaybe-uninitialized',
   '-Wmissing-declarations',
   '-Wmissing-format-attribute',
   '-Wmissing-include-dirs',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]