diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-03-17 13:03:18 +0200 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-10-13 13:59:54 +0800 |
commit | aa69fd6caf1b08bfc64889c91639046fb1114326 (patch) | |
tree | 4a1744d6e5170fa90c0a6429d19c3823d002dd09 | |
parent | 672e8c5d073b5e2f1bc63095bbcd2854c6bbd2d4 (diff) | |
download | bitcoin-aa69fd6caf1b08bfc64889c91639046fb1114326.tar.xz |
build: Drop -Wno-unused-local-typedef
-Wunused-local-typedef(s) is covered by -Wunused in both gcc and clang.
No new warnings fire when compiling.
-rw-r--r-- | configure.ac | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index cf71e9debf..c3059e1818 100644 --- a/configure.ac +++ b/configure.ac @@ -452,7 +452,6 @@ if test "x$CXXFLAGS_overridden" = "xno"; then dnl set the -Wno-foo case if it works. AX_CHECK_COMPILE_FLAG([-Wunused-parameter],[NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-unused-parameter"],,[[$CXXFLAG_WERROR]]) AX_CHECK_COMPILE_FLAG([-Wself-assign],[NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-self-assign"],,[[$CXXFLAG_WERROR]]) - AX_CHECK_COMPILE_FLAG([-Wunused-local-typedef],[NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-unused-local-typedef"],,[[$CXXFLAG_WERROR]]) if test x$suppress_external_warnings != xyes ; then AX_CHECK_COMPILE_FLAG([-Wdeprecated-copy],[NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-deprecated-copy"],,[[$CXXFLAG_WERROR]]) fi |