diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-17 04:44:46 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-17 04:44:46 +0000 |
commit | fe82e4ce728398434da14203cfe4b7d60a5d589b (patch) | |
tree | d25e63355447cc1e917795bf6d5ae3989ef30b69 /EdkCompatibilityPkg/Compatibility | |
parent | 944bf8db90f060f1427c3088d7b56eecedb50c42 (diff) | |
download | edk2-platforms-fe82e4ce728398434da14203cfe4b7d60a5d589b.tar.xz |
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
Diffstat (limited to 'EdkCompatibilityPkg/Compatibility')
-rw-r--r-- | EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c index 9e4679cb9e..3edb806447 100644 --- a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c +++ b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/Utility.c @@ -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;
}
}
|