diff options
author | Simon Howard | 2011-10-29 22:58:13 +0000 |
---|---|---|
committer | Simon Howard | 2011-10-29 22:58:13 +0000 |
commit | 4bf764a5b8952856b1ca04f1282121e8054938de (patch) | |
tree | 1a5992de07f5b5377854dd3a0aab42ff7c81db10 /configure.in | |
parent | cfbdd3d79d1e3cc48165536cb7b4166b94f77e9b (diff) | |
download | chocolate-doom-4bf764a5b8952856b1ca04f1282121e8054938de.tar.gz chocolate-doom-4bf764a5b8952856b1ca04f1282121e8054938de.tar.bz2 chocolate-doom-4bf764a5b8952856b1ca04f1282121e8054938de.zip |
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
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |