Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jul 2017 21:04:09 +0000 (UTC)
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320815 - head/sys/fs/fdescfs
Message-ID:  <201707082104.v68L49Mv001888@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dchagin
Date: Sat Jul  8 21:04:09 2017
New Revision: 320815
URL: https://svnweb.freebsd.org/changeset/base/320815

Log:
  Remove init from declaration.
  
  MFC after:	3 weeks

Modified:
  head/sys/fs/fdescfs/fdesc_vfsops.c

Modified: head/sys/fs/fdescfs/fdesc_vfsops.c
==============================================================================
--- head/sys/fs/fdescfs/fdesc_vfsops.c	Sat Jul  8 21:02:40 2017	(r320814)
+++ head/sys/fs/fdescfs/fdesc_vfsops.c	Sat Jul  8 21:04:09 2017	(r320815)
@@ -78,10 +78,10 @@ fdesc_cmount(struct mntarg *ma, void *data, uint64_t f
 static int
 fdesc_mount(struct mount *mp)
 {
-	int error = 0;
 	struct fdescmount *fmp;
 	struct thread *td = curthread;
 	struct vnode *rvp;
+	int error;
 
 	if (!prison_allow(td->td_ucred, PR_ALLOW_MOUNT_FDESCFS))
 		return (EPERM);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707082104.v68L49Mv001888>