diff options
author | raveit65 <[email protected]> | 2020-03-31 17:03:05 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-04-02 12:19:08 +0200 |
commit | 2f5ddbbca624f5be80e5463a85616f18df26c643 (patch) | |
tree | b16a588598d39f51e7452ab7e794fef2a319cbda | |
parent | f26640ed3b18e6b6423eb911a0396a030be3db74 (diff) | |
download | mate-common-2f5ddbbca624f5be80e5463a85616f18df26c643.tar.bz2 mate-common-2f5ddbbca624f5be80e5463a85616f18df26c643.tar.xz |
silent -Wunused-parameter for maximum warning level
-rw-r--r-- | macros/mate-compiler-flags.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/mate-compiler-flags.m4 b/macros/mate-compiler-flags.m4 index ff53132..da1f86c 100644 --- a/macros/mate-compiler-flags.m4 +++ b/macros/mate-compiler-flags.m4 @@ -49,7 +49,7 @@ AC_DEFUN([MATE_COMPILE_WARNINGS],[ warning_flags="-Wall -Wmissing-prototypes" ;; maximum|error) - warning_flags="-Wall -Wmissing-prototypes -Wbad-function-cast -Wcast-align -Wextra -Wformat-nonliteral -Wmissing-declarations -Wmissing-field-initializers -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Werror=format-security -Wno-sign-compare" + warning_flags="-Wall -Wmissing-prototypes -Wbad-function-cast -Wcast-align -Wextra -Wno-unused-parameter -Wformat-nonliteral -Wmissing-declarations -Wmissing-field-initializers -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Werror=format-security -Wno-sign-compare" if test "$enable_compile_warnings" = "error" ; then warning_flags="$warning_flags -Werror" fi |