From 7c6dab81e9ffdaf6c97b1a66af829d8d68b17bf1 Mon Sep 17 00:00:00 2001 From: dim Date: Sat, 19 Jul 2014 18:33:09 +0000 Subject: MFC r268774: After r261991, clang warnings about unused functions in the kernel were completely silenced. Make sure these warnings appear again, so there is some incentive to fix them, but do not error out the whole kernel build for them. Noticed by: steven@pyro.eu.org PR: 191867 --- sys/conf/kern.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/conf') diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index 7f3f394..34535c3 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -29,7 +29,7 @@ NO_WSOMETIMES_UNINITIALIZED= -Wno-error-sometimes-uninitialized # 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 -Wno-error-empty-body \ - -Wno-error-parentheses-equality -Wno-unused-function \ + -Wno-error-parentheses-equality -Wno-error-unused-function \ ${NO_WFORMAT} .endif -- cgit v1.1