From bfae49aeb2affaf239f7e9b04b6b7e226830e962 Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 15 Mar 2008 13:21:31 +0000 Subject: (svn r12368) -Codechange: use explicit body for loops and conditions and remove -Wno-empty-body from the configure script --- config.lib | 6 ------ 1 file changed, 6 deletions(-) (limited to 'config.lib') 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 -- cgit v1.2.3-54-g00ecf