mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
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;
|
GuidStr = NULL;
|
||||||
NameStr = NULL;
|
NameStr = NULL;
|
||||||
TempStr = NULL;
|
TempStr = NULL;
|
||||||
|
*IsEfiVarstore = FALSE;
|
||||||
|
|
||||||
Status = GetFormPackageData(DataBaseRecord, &HiiFormPackage, &PackageSize);
|
Status = GetFormPackageData(DataBaseRecord, &HiiFormPackage, &PackageSize);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user