mirror of
https://github.com/cuberite/libevent.git
synced 2025-08-04 01:36:23 -04:00
build: remove duplicate -Wredundant-decls
(cherry picked from commit ff4ec5fdb02d22c131e63b5a98e453da975a3cb1)
This commit is contained in:
parent
ccd6724300
commit
cb4b87380d
@ -866,7 +866,7 @@ if test x$enable_gcc_warnings != xno && test "$GCC" = "yes"; then
|
||||
#endif])], have_clang=yes, have_clang=no)
|
||||
|
||||
# -W is the same as -Wextra
|
||||
CFLAGS="$CFLAGS -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast"
|
||||
CFLAGS="$CFLAGS -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wmissing-declarations -Wnested-externs -Wbad-function-cast"
|
||||
if test x$enable_gcc_warnings = xyes; then
|
||||
CFLAGS="$CFLAGS -Werror"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user