From a32305a8bd28e19b2e97d430a9f61587b7222bd5 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Thu, 17 Jun 2010 14:08:36 -0700 Subject: [PATCH] configure: Remove some dead code. This block of code is useless because a (nearly-equivalent) assignment is made immediately after. The only difference is the omission of -Wunreadchable-code in the assignment being used. Presumably, that was intended to be -Wunreachable-code (without the first 'd'), but since this hasn't been being used we just drop it. --- configure.ac | 7 ------- 1 file changed, 7 deletions(-) diff --git a/configure.ac b/configure.ac index 68241f1..74dd661 100644 --- a/configure.ac +++ b/configure.ac @@ -52,13 +52,6 @@ if test "x$enable_debug" = xyes; then fi fi - -if test "x$GCC" = xyes ; then - WARN="-Wall -Wextra -Wunsafe-loop-optimizations -Wstack-protector -Wunreadchable-code" -else - WARN="" -fi - if test "x$GXX" = xyes ; then WARN="-Wall -Wextra -Wunsafe-loop-optimizations -Wstack-protector" else -- 2.7.4