]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Remove -Wno-unused-parameter from default C(XX)FLAGS
authorFred Morcos <fred.morcos@open-xchange.com>
Mon, 20 Feb 2023 10:59:53 +0000 (11:59 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 5 Apr 2023 06:59:44 +0000 (08:59 +0200)
pdns/recursordist/configure.ac

index e8c86edb2fd9f584202f58fa85a2c39f73eb04e0..8f7e900b7e1da47677680bc49a040db5fd1cf4ce 100644 (file)
@@ -12,8 +12,8 @@ AC_CONFIG_HEADERS([config.h])
 
 AC_CANONICAL_HOST
 # Add some default CFLAGS and CXXFLAGS, can be appended to using the environment variables
-CFLAGS="-Wall -Wextra -Wshadow -Wno-unused-parameter -Wmissing-declarations -Wredundant-decls -fvisibility=hidden -g -O2 $CFLAGS"
-CXXFLAGS="-Wall -Wextra -Wshadow -Wno-unused-parameter -Wmissing-declarations -Wredundant-decls -fvisibility=hidden -g -O2 $CXXFLAGS"
+CFLAGS="-Wall -Wextra -Wshadow -Wmissing-declarations -Wredundant-decls -fvisibility=hidden -g -O2 $CFLAGS"
+CXXFLAGS="-Wall -Wextra -Wshadow -Wmissing-declarations -Wredundant-decls -fvisibility=hidden -g -O2 $CXXFLAGS"
 
 AC_SUBST([pdns_configure_args],["$ac_configure_args"])
 AC_DEFINE_UNQUOTED([PDNS_CONFIG_ARGS],