mirror of
https://github.com/ostreedev/ostree.git
synced 2025-02-27 01:57:49 +03:00
configure: Turn on -Wempty-body
I spent half an hour debugging an extra semicolon, and this C "feature" is not used at all in ostree Closes: #359 Approved by: cgwalters
This commit is contained in:
parent
4cb77c51db
commit
55f5f73d80
@ -17,7 +17,7 @@ AC_PROG_YACC
|
||||
|
||||
changequote(,)dnl
|
||||
if test "x$GCC" = "xyes"; then
|
||||
WARN_CFLAGS="-Wall -Wstrict-prototypes -Werror=missing-prototypes \
|
||||
WARN_CFLAGS="-Wall -Wempty-body -Wstrict-prototypes -Werror=missing-prototypes \
|
||||
-Werror=implicit-function-declaration \
|
||||
-Werror=pointer-arith -Werror=init-self -Werror=format=2 \
|
||||
-Werror=format-security \
|
||||
|
Loading…
x
Reference in New Issue
Block a user