From owner-svn-src-all@FreeBSD.ORG Sat Dec 24 13:30:15 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C71241065673; Sat, 24 Dec 2011 13:30:15 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B19FC8FC0A; Sat, 24 Dec 2011 13:30:15 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pBODUF15015083; Sat, 24 Dec 2011 13:30:15 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pBODUFkG015081; Sat, 24 Dec 2011 13:30:15 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201112241330.pBODUFkG015081@svn.freebsd.org> From: Dimitry Andric Date: Sat, 24 Dec 2011 13:30:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r228860 - head/sys/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 13:30:15 -0000 Author: dim Date: Sat Dec 24 13:30:15 2011 New Revision: 228860 URL: http://svn.freebsd.org/changeset/base/228860 Log: 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 Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk ============================================================================== --- head/sys/conf/kern.mk Sat Dec 24 13:28:49 2011 (r228859) +++ head/sys/conf/kern.mk Sat Dec 24 13:30:15 2011 (r228860) @@ -23,7 +23,7 @@ NO_WSHIFT_COUNT_OVERFLOW= -Wno-shift-cou # 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 #