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);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to