diff options
author | Eric Dong <eric.dong@intel.com> | 2013-07-29 02:45:26 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-07-29 02:45:26 +0000 |
commit | dcdaee884f1b504eca801e61b9cc553b6be31ed0 (patch) | |
tree | 11e2d5c58719bacfe140d35e3a0612aedd3ca947 | |
parent | 70f89c0b5fa54dc8879e2ece3be2d2596b0b37cc (diff) | |
download | edk2-dcdaee884f1b504eca801e61b9cc553b6be31ed0.zip edk2-dcdaee884f1b504eca801e61b9cc553b6be31ed0.tar.gz edk2-dcdaee884f1b504eca801e61b9cc553b6be31ed0.tar.bz2 |
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
-rw-r--r-- | MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c index 51ff210..40d0230 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c @@ -1125,6 +1125,7 @@ GetVarStoreType ( GuidStr = NULL;
NameStr = NULL;
TempStr = NULL;
+ *IsEfiVarstore = FALSE;
Status = GetFormPackageData(DataBaseRecord, &HiiFormPackage, &PackageSize);
if (EFI_ERROR (Status)) {
|