mirror of https://github.com/acidanthera/audk.git
Clean the flag before use it to avoid use old error value.
Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14510 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
70f89c0b5f
commit
dcdaee884f
|
@ -1125,6 +1125,7 @@ GetVarStoreType (
|
|||
GuidStr = NULL;
|
||||
NameStr = NULL;
|
||||
TempStr = NULL;
|
||||
*IsEfiVarstore = FALSE;
|
||||
|
||||
Status = GetFormPackageData(DataBaseRecord, &HiiFormPackage, &PackageSize);
|
||||
if (EFI_ERROR (Status)) {
|
||||
|
|
Loading…
Reference in New Issue