summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/union
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/union
parentf1f5e5024ae310ddb4962a8e205396e0211e57e6 (diff)
downloadFreeBSD-src-31ea12c336bb1cadb7636d07693666d39cec8c0c.zip
FreeBSD-src-31ea12c336bb1cadb7636d07693666d39cec8c0c.tar.gz
Cleanup uninitialized-possibly-used (but really not) warnings
Diffstat (limited to 'sys/miscfs/union')
-rw-r--r--sys/miscfs/union/union_subr.c4
-rw-r--r--sys/miscfs/union/union_vnops.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/miscfs/union/union_subr.c b/sys/miscfs/union/union_subr.c
index f1db32e..7559b6e 100644
--- a/sys/miscfs/union/union_subr.c
+++ b/sys/miscfs/union/union_subr.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)union_subr.c 8.20 (Berkeley) 5/20/95
- * $Id: union_subr.c,v 1.34 1998/12/07 02:47:46 eivind Exp $
+ * $Id: union_subr.c,v 1.35 1998/12/07 21:58:34 archie Exp $
*/
#include <sys/param.h>
@@ -307,7 +307,7 @@ union_allocvp(vpp, mp, undvp, dvp, cnp, uppervp, lowervp, docache)
struct union_node *un = 0;
struct vnode *xlowervp = NULLVP;
struct union_mount *um = MOUNTTOUNIONMOUNT(mp);
- int hash;
+ int hash = 0;
int vflag;
int try;
diff --git a/sys/miscfs/union/union_vnops.c b/sys/miscfs/union/union_vnops.c
index 2bcd1ee..87fda6d 100644
--- a/sys/miscfs/union/union_vnops.c
+++ b/sys/miscfs/union/union_vnops.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)union_vnops.c 8.32 (Berkeley) 6/23/95
- * $Id: union_vnops.c,v 1.57 1998/05/07 04:58:38 msmith Exp $
+ * $Id: union_vnops.c,v 1.58 1998/07/04 20:45:35 julian Exp $
*/
#include <sys/param.h>
@@ -205,7 +205,7 @@ union_lookup(ap)
struct proc *p = cnp->cn_proc;
int lockparent = cnp->cn_flags & LOCKPARENT;
struct union_mount *um = MOUNTTOUNIONMOUNT(dvp->v_mount);
- struct ucred *saved_cred;
+ struct ucred *saved_cred = NULL;
int iswhiteout;
struct vattr va;
OpenPOWER on IntegriCloud