summaryrefslogtreecommitdiff
path: root/config.lib
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-03-15 13:21:31 +0000
committersmatz <smatz@openttd.org>2008-03-15 13:21:31 +0000
commitbfae49aeb2affaf239f7e9b04b6b7e226830e962 (patch)
tree430a2db18c790d538b3473d93a0c95f2afbdde7d /config.lib
parent5db7288ea961e1418d0983d8ef4c08c32d2fc879 (diff)
downloadopenttd-bfae49aeb2affaf239f7e9b04b6b7e226830e962.tar.xz
(svn r12368) -Codechange: use explicit body for loops and conditions and remove -Wno-empty-body from the configure script
Diffstat (limited to 'config.lib')
-rw-r--r--config.lib6
1 files changed, 0 insertions, 6 deletions
diff --git a/config.lib b/config.lib
index 75f4acbad..b75540888 100644
--- a/config.lib
+++ b/config.lib
@@ -970,12 +970,6 @@ make_cflags_and_ldflags() {
if [ $cc_version -ge 42 ]; then
CFLAGS="$CFLAGS -fno-strict-overflow"
fi
-
- # GCC 4.3+ gives a warning about empty body of
- # loops and conditions
- if [ $cc_version -ge 43 ]; then
- CFLAGS="$CFLAGS -Wno-empty-body"
- fi
fi
if [ "$os" != "CYGWIN" ] && [ "$os" != "FREEBSD" ] && [ "$os" != "OPENBSD" ] && [ "$os" != "MINGW" ] && [ "$os" != "MORPHOS" ] && [ "$os" != "OSX" ] && [ "$os" != "WINCE" ] && [ "$os" != "PSP" ] && [ "$os" != "OS2" ]; then