From 79bada538fd55e3686e1c73fe430c533c186f0da Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Sat, 12 Feb 2005 01:32:49 +0000 Subject: [PATCH 1/1] GC local variable size. --- sys/vfs/nwfs/nwfs_vfsops.c | 3 +-- sys/vfs/smbfs/smbfs_vfsops.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/vfs/nwfs/nwfs_vfsops.c b/sys/vfs/nwfs/nwfs_vfsops.c index c06df5580d..07c3f51aca 100644 --- a/sys/vfs/nwfs/nwfs_vfsops.c +++ b/sys/vfs/nwfs/nwfs_vfsops.c @@ -30,7 +30,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/sys/nwfs/nwfs_vfsops.c,v 1.6.2.6 2001/10/25 19:18:54 dillon Exp $ - * $DragonFly: src/sys/vfs/nwfs/nwfs_vfsops.c,v 1.15 2005/02/02 21:34:18 joerg Exp $ + * $DragonFly: src/sys/vfs/nwfs/nwfs_vfsops.c,v 1.16 2005/02/12 01:31:38 joerg Exp $ */ #include "opt_ncp.h" #ifndef NCP @@ -145,7 +145,6 @@ static int nwfs_mount(struct mount *mp, char *path, caddr_t data, struct thread *td) { struct nwfs_args args; /* will hold data from mount request */ - size_t size; int error; struct nwmount *nmp = NULL; struct ncp_conn *conn = NULL; diff --git a/sys/vfs/smbfs/smbfs_vfsops.c b/sys/vfs/smbfs/smbfs_vfsops.c index c7e845a855..d5ca5a1fdf 100644 --- a/sys/vfs/smbfs/smbfs_vfsops.c +++ b/sys/vfs/smbfs/smbfs_vfsops.c @@ -30,7 +30,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/sys/fs/smbfs/smbfs_vfsops.c,v 1.2.2.5 2003/01/17 08:20:26 tjr Exp $ - * $DragonFly: src/sys/vfs/smbfs/smbfs_vfsops.c,v 1.17 2005/02/02 21:34:18 joerg Exp $ + * $DragonFly: src/sys/vfs/smbfs/smbfs_vfsops.c,v 1.18 2005/02/12 01:32:49 joerg Exp $ */ #include "opt_netsmb.h" #ifndef NETSMB @@ -141,7 +141,6 @@ smbfs_mount(struct mount *mp, char *path, caddr_t data, struct thread *td) struct vnode *vp; struct smb_cred scred; struct ucred *cred; - size_t size; int error; char *pc, *pe; -- 2.41.0