From 4bf764a5b8952856b1ca04f1282121e8054938de Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 29 Oct 2011 22:58:13 +0000 Subject: Enable gcc warning to detect redundant declarations, and clean up instances of this within the code (thanks Edward-san). Subversion-branch: /branches/v2-branch Subversion-revision: 2468 --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 21c4ca35..094a87c3 100644 --- a/configure.in +++ b/configure.in @@ -27,7 +27,7 @@ AC_ARG_ENABLE(penis-extension, if test "$GCC" = "yes" then - WARNINGS="-Wall -Wdeclaration-after-statement" + WARNINGS="-Wall -Wdeclaration-after-statement -Wredundant-decls" CFLAGS="-O$OPT_LEVEL -g $WARNINGS $orig_CFLAGS" fi -- cgit v1.2.3