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);
_______________________________________________
[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