From f01c28259f33d089b0c3b313facc2111d3e7ce16 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 3 Sep 2015 08:59:52 +0100 Subject: [PATCH] build: Add -Werror=maybe-uninitialized Should help us catch more edge cases. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 03fd48ab3..2d2caddd0 100644 --- a/configure.ac +++ b/configure.ac @@ -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],