Date: Sat, 8 Jul 2017 21:05:28 +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: r320816 - head/sys/fs/fdescfs Message-ID: <201707082105.v68L5Sh5001979@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dchagin Date: Sat Jul 8 21:05:28 2017 New Revision: 320816 URL: https://svnweb.freebsd.org/changeset/base/320816 Log: Remove init from declaration, collapse two int vars declarations into single. 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:04:09 2017 (r320815) +++ head/sys/fs/fdescfs/fdesc_vfsops.c Sat Jul 8 21:05:28 2017 (r320816) @@ -124,9 +124,9 @@ fdesc_unmount(struct mount *mp, int mntflags) { struct fdescmount *fmp; caddr_t data; - int error; - int flags = 0; + int error, flags; + flags = 0; fmp = (struct fdescmount *)mp->mnt_data; if (mntflags & MNT_FORCE) { /* The hash mutex protects the private mount flags. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707082105.v68L5Sh5001979>