svn commit: r320820 - head/sys/fs/fdescfs
Dmitry Chagin
dchagin at FreeBSD.org
Sat Jul 8 21:15:47 UTC 2017
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);
More information about the svn-src-all
mailing list