mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Configure: enable -Wconditional-uninitialized with clang.
This commit is contained in:
parent
67b0d16546
commit
618e12f679
@ -82,6 +82,7 @@ fi
|
|||||||
# warnings
|
# warnings
|
||||||
|
|
||||||
CFLAGS="$CFLAGS $NGX_CLANG_OPT -Wall -Wextra -Wpointer-arith"
|
CFLAGS="$CFLAGS $NGX_CLANG_OPT -Wall -Wextra -Wpointer-arith"
|
||||||
|
CFLAGS="$CFLAGS -Wconditional-uninitialized"
|
||||||
#CFLAGS="$CFLAGS -Wmissing-prototypes"
|
#CFLAGS="$CFLAGS -Wmissing-prototypes"
|
||||||
|
|
||||||
# we have a lot of unused function arguments
|
# we have a lot of unused function arguments
|
||||||
|
Loading…
Reference in New Issue
Block a user