build: Add -Werror=maybe-uninitialized

Should help us catch more edge cases.
This commit is contained in:
Emmanuele Bassi 2015-09-03 08:59:52 +01:00
parent ca5226513e
commit f01c28259f

View File

@ -375,7 +375,8 @@ MAINTAINER_COMPILER_FLAGS="-Wall -Wcast-align -Wformat -Wformat-security
-Werror=uninitialized -Werror=no-strict-aliasing
-Werror=empty-body -Werror=init-self -Werror=undef
-Werror=declaration-after-statement -Werror=vla
-Werror=pointer-arith -Werror=missing-declarations"
-Werror=pointer-arith -Werror=missing-declarations
-Werror=maybe-uninitialized"
AS_CASE(
[$enable_maintainer_flags],