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 <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Derrick Brashear 2010-03-21 13:49:21 -04:00
parent 38fd725920
commit a724dc31d8

View File

@ -3562,7 +3562,7 @@ CreateRootDir(VolumeDiskData *volHeader, IHandle_t *alinkH, VolumeId vid,
AFSFid did, readmeid; AFSFid did, readmeid;
afs_fsize_t length; afs_fsize_t length;
Inode rootinode; Inode rootinode;
struct VnodeDiskObject *rootvnode; struct VnodeDiskObject *rootvnode = NULL;
struct acl_accessList *ACL; struct acl_accessList *ACL;
Inode *ip; Inode *ip;
afs_sfsize_t bytes; afs_sfsize_t bytes;