summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/fdesc
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1998-12-14 05:00:59 +0000
committerdillon <dillon@FreeBSD.org>1998-12-14 05:00:59 +0000
commit31ea12c336bb1cadb7636d07693666d39cec8c0c (patch)
tree187753f95d92322bea1d4efa2fba86ec1c1fd002 /sys/miscfs/fdesc
parentf1f5e5024ae310ddb4962a8e205396e0211e57e6 (diff)
downloadFreeBSD-src-31ea12c336bb1cadb7636d07693666d39cec8c0c.zip
FreeBSD-src-31ea12c336bb1cadb7636d07693666d39cec8c0c.tar.gz
Cleanup uninitialized-possibly-used (but really not) warnings
Diffstat (limited to 'sys/miscfs/fdesc')
-rw-r--r--sys/miscfs/fdesc/fdesc_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/fdesc/fdesc_vnops.c b/sys/miscfs/fdesc/fdesc_vnops.c
index ff7fbee..fb8f4a1 100644
--- a/sys/miscfs/fdesc/fdesc_vnops.c
+++ b/sys/miscfs/fdesc/fdesc_vnops.c
@@ -35,7 +35,7 @@
*
* @(#)fdesc_vnops.c 8.9 (Berkeley) 1/21/94
*
- * $Id: fdesc_vnops.c,v 1.38 1998/06/14 08:46:41 bde Exp $
+ * $Id: fdesc_vnops.c,v 1.39 1998/12/07 21:58:31 archie Exp $
*/
/*
@@ -193,7 +193,7 @@ fdesc_lookup(ap)
char *pname = cnp->cn_nameptr;
struct proc *p = cnp->cn_proc;
int nfiles = p->p_fd->fd_nfiles;
- unsigned fd;
+ unsigned fd = -1;
int error;
struct vnode *fvp;
char *ln;
OpenPOWER on IntegriCloud