diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-02 19:52:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-02 19:52:18 +0300 |
commit | 3612088e37d8cd220b896df22984bb9011a360a2 (patch) | |
tree | 338cde77a85f3fe9544b4e4eb35455aa2f6b7816 /configure.ac | |
parent | 2f71997bff76d25a57d5bebf7664c64241d318dc (diff) | |
download | plugin-3612088e37d8cd220b896df22984bb9011a360a2.tar.gz plugin-3612088e37d8cd220b896df22984bb9011a360a2.tar.bz2 plugin-3612088e37d8cd220b896df22984bb9011a360a2.tar.xz plugin-3612088e37d8cd220b896df22984bb9011a360a2.zip |
Add some more flags for check unused things.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 095716f..5035edb 100644 --- a/configure.ac +++ b/configure.ac @@ -235,6 +235,18 @@ AC_CHECK_COMPILER_WFLAG(nested-externs) AC_CHECK_COMPILER_WFLAG(old-style-definition) AC_CHECK_COMPILER_WFLAG(overlength-strings) AC_CHECK_COMPILER_WFLAG(redundant-decls) +#AC_CHECK_COMPILER_WFLAG(unused) +AC_CHECK_COMPILER_WFLAG(unused-but-set-parameter) +AC_CHECK_COMPILER_WFLAG(unused-but-set-variable) +AC_CHECK_COMPILER_WFLAG(unreachable-code) +AC_CHECK_COMPILER_WFLAG(unused-const-variable=2) +AC_CHECK_COMPILER_WFLAG(unused-function) +AC_CHECK_COMPILER_WFLAG(unused-local-typedefs) +AC_CHECK_COMPILER_WFLAG(unused-macros) +AC_CHECK_COMPILER_WFLAG(unused-parameter) +AC_CHECK_COMPILER_WFLAG(unused-result) +AC_CHECK_COMPILER_WFLAG(unused-value) +AC_CHECK_COMPILER_WFLAG(unused-variable) #AC_CHECK_COMPILER_WNOFLAG(format-nonliteral) #AC_CHECK_COMPILER_WNOFLAG(switch) #AC_CHECK_COMPILER_WNOFLAG(missing-field-initializers) |