build: Use -Wuninitialized instead of -Wno-uninitialized

We want to be warned about uninitialized variables.
This commit is contained in:
Emmanuele Bassi 2010-02-12 14:46:43 +00:00
parent 00c4bfc3c6
commit 27e6c3b1e0

View File

@ -756,7 +756,7 @@ AC_ARG_ENABLE([maintainer-flags],
AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"],
[
AS_COMPILER_FLAGS([MAINTAINER_CFLAGS],
["-Wall -Wshadow -Wcast-align -Wno-uninitialized
["-Wall -Wshadow -Wcast-align -Wuninitialized
-Wno-strict-aliasing -Wempty-body -Wformat
-Wformat-security -Winit-self"])
]