Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jul 2017 21:15:46 +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: r320820 - head/sys/fs/fdescfs
Message-ID:  <201707082115.v68LFkYY006260@repo.freebsd.org>

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

Log:
  Don't initialize error in declaration.
  
  MFC after:	3 weeks

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

Modified: head/sys/fs/fdescfs/fdesc_vnops.c
==============================================================================
--- head/sys/fs/fdescfs/fdesc_vnops.c	Sat Jul  8 21:13:25 2017	(r320819)
+++ head/sys/fs/fdescfs/fdesc_vnops.c	Sat Jul  8 21:15:46 2017	(r320820)
@@ -152,7 +152,7 @@ fdesc_allocvp(fdntype ftype, unsigned fd_fd, int ix, s
 	struct fdescnode *fd, *fd2;
 	struct vnode *vp, *vp2;
 	struct thread *td;
-	int error = 0;
+	int error;
 
 	td = curthread;
 	fc = FD_NHASH(ix);



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