From a724dc31d85b082d7337dd0fa399df72dc5d9afc Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Sun, 21 Mar 2010 13:49:21 -0400 Subject: [PATCH] salvage variable initialization root vnode creation change caused a new warning i missed. fix it now, set rootvnode to NULL Change-Id: I06fe7a60f2fcc48c498249142220f65291188baa Reviewed-on: http://gerrit.openafs.org/1610 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/vol/vol-salvage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vol/vol-salvage.c b/src/vol/vol-salvage.c index dcc9792e6c..f513cb9645 100644 --- a/src/vol/vol-salvage.c +++ b/src/vol/vol-salvage.c @@ -3562,7 +3562,7 @@ CreateRootDir(VolumeDiskData *volHeader, IHandle_t *alinkH, VolumeId vid, AFSFid did, readmeid; afs_fsize_t length; Inode rootinode; - struct VnodeDiskObject *rootvnode; + struct VnodeDiskObject *rootvnode = NULL; struct acl_accessList *ACL; Inode *ip; afs_sfsize_t bytes;