aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2018-05-19 04:46:34 +0000
committerMatt Macy <mmacy@FreeBSD.org>2018-05-19 04:46:34 +0000
commite5ae3af78b25954590132d6282d9a66f353dbf51 (patch)
tree3b0b25bdaa9c865888c6938462704fe22e4940fe /sys/conf
parent5072a5f46592e55ee0c9f05a463073e519a16331 (diff)
downloadsrc-e5ae3af78b25954590132d6282d9a66f353dbf51.tar.gz
src-e5ae3af78b25954590132d6282d9a66f353dbf51.zip
disable set but not used on code that can't be changed
Notes
Notes: svn path=/head/; revision=333848
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kern.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 93789c5f06d2..8fdc6c2c72e4 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -49,6 +49,7 @@ CLANG_NO_IAS34= -no-integrated-as
.if ${COMPILER_VERSION} >= 40800
# Catch-all for all the things that are in our tree, but for which we're
# not yet ready for this compiler.
+NO_WUNUSED_BUT_SET_VARIABLE = -Wno-unused-but-set-variable
CWARNEXTRA?= -Wno-error=address \
-Wno-error=aggressive-loop-optimizations \
-Wno-error=array-bounds \