diff options
author | dim <dim@FreeBSD.org> | 2011-12-24 13:30:15 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-12-24 13:30:15 +0000 |
commit | 87e2cb4f0df356d131a2944e7239a94ac9fb0af3 (patch) | |
tree | 488f3eb08c8694a6ae7be6ac40a1c7360cf4e11c /sys/conf | |
parent | d1c67819db000c02d3a9c79f3651c10aeedad1a0 (diff) | |
download | FreeBSD-src-87e2cb4f0df356d131a2944e7239a94ac9fb0af3.zip FreeBSD-src-87e2cb4f0df356d131a2944e7239a94ac9fb0af3.tar.gz |
Make another clang warning, -Wempty-body, non-fatal during kernel
builds. All the instances of this warning in our tree are completely
harmless. (Most of the empty bodies look to be used simply as reminder
for the developer to add something later.)
While here, assign to CWARNEXTRA with ?=, so it can be overridden
easily, if needed.
MFC after: 1 week
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/kern.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index 54b64fc..fddd866 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -23,7 +23,7 @@ NO_WSHIFT_COUNT_OVERFLOW= -Wno-shift-count-overflow # 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. -CWARNEXTRA+= -Wno-error-tautological-compare +CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body .endif # |