summaryrefslogtreecommitdiffstats
path: root/sys/conf/kern.mk
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-12-30 13:16:59 +0000
committerdim <dim@FreeBSD.org>2011-12-30 13:16:59 +0000
commita15eaa46ba0aac83cf6e919b45bb5fe91ad4145e (patch)
treeac52d2fd945773a05e42149c733bc2c4a8147cbf /sys/conf/kern.mk
parentbf1efdbdcd58706a3ec26b3a10d7522a26a246a6 (diff)
downloadFreeBSD-src-a15eaa46ba0aac83cf6e919b45bb5fe91ad4145e.zip
FreeBSD-src-a15eaa46ba0aac83cf6e919b45bb5fe91ad4145e.tar.gz
Disable several instances instances of clang's -Wself-assign warning.
All of these are harmless, and are in fact used to shut up warnings from lint. While here, remove -Wno-missing-prototypes from the xfs module Makefile, as I could not reproduce those warnings either with gcc or clang. MFC after: 1 week
Diffstat (limited to 'sys/conf/kern.mk')
-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 7e37765f..d561aae 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -21,6 +21,7 @@ NO_WARRAY_BOUNDS= -Wno-array-bounds
NO_WSHIFT_COUNT_NEGATIVE= -Wno-shift-count-negative
NO_WSHIFT_COUNT_OVERFLOW= -Wno-shift-count-overflow
NO_WUNUSED_VALUE= -Wno-unused-value
+NO_WSELF_ASSIGN= -Wno-self-assign
# Several other warnings which might be useful in some cases, but not severe
# enough to error out the whole kernel build. Display them anyway, so there is
# some incentive to fix them eventually.
OpenPOWER on IntegriCloud