[totem-pl-parser] build: Error out for uninitialised variables



commit afb8e05aaba4b1e56e28af2c09c6448abb8296c8
Author: crvi <crvisqr gmail com>
Date:   Thu Jun 24 16:17:18 2021 +0200

    build: Error out for uninitialised variables

 meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index 0a34d1d..6189dbb 100644
--- a/meson.build
+++ b/meson.build
@@ -123,6 +123,7 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
     '-Werror=pointer-to-int-cast',
     '-Werror=empty-body',
     '-Werror=write-strings',
+    '-Werror=maybe-uninitialized',
   ]
 else
   test_cflags = []


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