Add -Wduplicated-cond on GCC 6

This commit is contained in:
Nick Mathewson 2016-05-30 12:05:08 -04:00
parent b14c1f4082
commit 12517c7303

View File

@ -1777,6 +1777,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [
if test "x$have_gcc6" = "xyes"; then
CFLAGS="$CFLAGS -Wignored-attributes -Wshift-negative-value -Wshift-overflow=2"
CFLAGS="$CFLAGS -Wnull-dereference"
CFLAGS="$CFLAGS -Wduplicated-cond"
fi
if test "x$have_shorten64_flag" = "xyes"; then