From owner-svn-src-head@FreeBSD.ORG Sat Jun 29 04:35:05 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 76933FDB; Sat, 29 Jun 2013 04:35:05 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 6999317CA; Sat, 29 Jun 2013 04:35:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5T4Z5EW031145; Sat, 29 Jun 2013 04:35:05 GMT (envelope-from peter@svn.freebsd.org) Received: (from peter@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5T4Z5Ka031141; Sat, 29 Jun 2013 04:35:05 GMT (envelope-from peter@svn.freebsd.org) Message-Id: <201306290435.r5T4Z5Ka031141@svn.freebsd.org> From: Peter Wemm Date: Sat, 29 Jun 2013 04:35:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r252367 - head/sys/kern X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jun 2013 04:35:05 -0000 Author: peter Date: Sat Jun 29 04:35:04 2013 New Revision: 252367 URL: http://svnweb.freebsd.org/changeset/base/252367 Log: Help out gcc. clang understands. sys_generic.c:1510: warning: 'precision' may be used uninitialized *** [sys_generic.o] Error code 1 Modified: head/sys/kern/sys_generic.c head/sys/kern/vfs_init.c Modified: head/sys/kern/sys_generic.c ============================================================================== --- head/sys/kern/sys_generic.c Sat Jun 29 04:27:04 2013 (r252366) +++ head/sys/kern/sys_generic.c Sat Jun 29 04:35:04 2013 (r252367) @@ -1510,6 +1510,7 @@ selsocket(struct socket *so, int events, sbintime_t asbt, precision, rsbt; int error; + precision = 0; /* stupid gcc! */ if (tvp != NULL) { rtv = *tvp; if (rtv.tv_sec < 0 || rtv.tv_usec < 0 || Modified: head/sys/kern/vfs_init.c ============================================================================== --- head/sys/kern/vfs_init.c Sat Jun 29 04:27:04 2013 (r252366) +++ head/sys/kern/vfs_init.c Sat Jun 29 04:35:04 2013 (r252367) @@ -201,6 +201,7 @@ vfs_register(struct vfsconf *vfc) } else vfc->vfc_typenum = maxvfsconf++; TAILQ_INSERT_TAIL(&vfsconf, vfc, vfc_list); + vfc->vfc_flags |= VFCF_JAIL; /* * If this filesystem has a sysctl node under vfs