From a5a3bf09a22bc91e45fefb6ae5695a6e890d05fd Mon Sep 17 00:00:00 2001 From: dim Date: Wed, 16 Jul 2014 20:37:03 +0000 Subject: [PATCH] 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 MFC after: 3 days --- sys/conf/kern.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index deba3e5e8459..d8873a69c2ca 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