build: Add -Werror=maybe-uninitialized
Should help us catch more edge cases.
This commit is contained in:
parent
ca5226513e
commit
f01c28259f
@ -375,7 +375,8 @@ MAINTAINER_COMPILER_FLAGS="-Wall -Wcast-align -Wformat -Wformat-security
|
|||||||
-Werror=uninitialized -Werror=no-strict-aliasing
|
-Werror=uninitialized -Werror=no-strict-aliasing
|
||||||
-Werror=empty-body -Werror=init-self -Werror=undef
|
-Werror=empty-body -Werror=init-self -Werror=undef
|
||||||
-Werror=declaration-after-statement -Werror=vla
|
-Werror=declaration-after-statement -Werror=vla
|
||||||
-Werror=pointer-arith -Werror=missing-declarations"
|
-Werror=pointer-arith -Werror=missing-declarations
|
||||||
|
-Werror=maybe-uninitialized"
|
||||||
|
|
||||||
AS_CASE(
|
AS_CASE(
|
||||||
[$enable_maintainer_flags],
|
[$enable_maintainer_flags],
|
||||||
|
Loading…
Reference in New Issue
Block a user