From 12517c73039afa5632b475a447e277a0ec73fbd5 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 30 May 2016 12:05:08 -0400 Subject: [PATCH] Add -Wduplicated-cond on GCC 6 --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 4878d2ba7e..d9149e26ec 100644 --- a/configure.ac +++ b/configure.ac @@ -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