Remove unused local variable to fix build break.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8962 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2009-07-17 04:44:46 +00:00
parent 944bf8db90
commit fe82e4ce72
1 changed files with 0 additions and 4 deletions

View File

@ -622,12 +622,10 @@ GetFormsetDefaultVarstoreId (
{
LIST_ENTRY *StorageList;
FORMSET_STORAGE *Storage;
FORMSET_STORAGE *DefaultStorage;
//
// VarStoreId 0 is invalid in UEFI IFR.
//
DefaultStorage= NULL;
FormSet->DefaultVarStoreId = 0;
StorageList = GetFirstNode (&FormSet->StorageListHead);
@ -641,7 +639,6 @@ GetFormsetDefaultVarstoreId (
// 1) If VarStore ID of FRAMEWORK_RESERVED_VARSTORE_ID (0x01) is found, Var Store ID is used.
//
FormSet->DefaultVarStoreId = FRAMEWORK_RESERVED_VARSTORE_ID;
DefaultStorage = Storage;
break;
}
@ -658,7 +655,6 @@ GetFormsetDefaultVarstoreId (
if (!IsNull (&FormSet->StorageListHead, StorageList)) {
Storage = FORMSET_STORAGE_FROM_LINK (StorageList);
FormSet->DefaultVarStoreId = Storage->VarStoreId;
DefaultStorage = Storage;
}
}