summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2000-04-22 17:58:40 +0000
committergreen <green@FreeBSD.org>2000-04-22 17:58:40 +0000
commitaa6d0cfe545e065d0dd7567958a00105c37735d9 (patch)
tree3dc41a51094c3afc979a15a59359f23e8e226cca
parent70e24328fd43f4de9a0d014aa4dc019cfeef362f (diff)
downloadFreeBSD-src-aa6d0cfe545e065d0dd7567958a00105c37735d9.zip
FreeBSD-src-aa6d0cfe545e065d0dd7567958a00105c37735d9.tar.gz
Quiet an unused variable warning by commenting out a variable declaration
that goes with a commented out statement.
-rw-r--r--sys/fs/procfs/procfs_vnops.c2
-rw-r--r--sys/miscfs/procfs/procfs_vnops.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/procfs/procfs_vnops.c b/sys/fs/procfs/procfs_vnops.c
index a38fe81..8c7ff20 100644
--- a/sys/fs/procfs/procfs_vnops.c
+++ b/sys/fs/procfs/procfs_vnops.c
@@ -697,7 +697,7 @@ procfs_lookup(ap)
struct vnode **vpp = ap->a_vpp;
struct vnode *dvp = ap->a_dvp;
char *pname = cnp->cn_nameptr;
- struct proc *curp = cnp->cn_proc;
+ /* struct proc *curp = cnp->cn_proc; */
struct proc_target *pt;
pid_t pid;
struct pfsnode *pfs;
diff --git a/sys/miscfs/procfs/procfs_vnops.c b/sys/miscfs/procfs/procfs_vnops.c
index a38fe81..8c7ff20 100644
--- a/sys/miscfs/procfs/procfs_vnops.c
+++ b/sys/miscfs/procfs/procfs_vnops.c
@@ -697,7 +697,7 @@ procfs_lookup(ap)
struct vnode **vpp = ap->a_vpp;
struct vnode *dvp = ap->a_dvp;
char *pname = cnp->cn_nameptr;
- struct proc *curp = cnp->cn_proc;
+ /* struct proc *curp = cnp->cn_proc; */
struct proc_target *pt;
pid_t pid;
struct pfsnode *pfs;
OpenPOWER on IntegriCloud