mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 20:12:06 +00:00
build: Use -Wuninitialized instead of -Wno-uninitialized
We want to be warned about uninitialized variables.
This commit is contained in:
parent
00c4bfc3c6
commit
27e6c3b1e0
@ -756,7 +756,7 @@ AC_ARG_ENABLE([maintainer-flags],
|
|||||||
AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"],
|
AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"],
|
||||||
[
|
[
|
||||||
AS_COMPILER_FLAGS([MAINTAINER_CFLAGS],
|
AS_COMPILER_FLAGS([MAINTAINER_CFLAGS],
|
||||||
["-Wall -Wshadow -Wcast-align -Wno-uninitialized
|
["-Wall -Wshadow -Wcast-align -Wuninitialized
|
||||||
-Wno-strict-aliasing -Wempty-body -Wformat
|
-Wno-strict-aliasing -Wempty-body -Wformat
|
||||||
-Wformat-security -Winit-self"])
|
-Wformat-security -Winit-self"])
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user