summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2013-07-29 02:45:26 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2013-07-29 02:45:26 +0000
commitdcdaee884f1b504eca801e61b9cc553b6be31ed0 (patch)
tree11e2d5c58719bacfe140d35e3a0612aedd3ca947 /MdeModulePkg
parent70f89c0b5fa54dc8879e2ece3be2d2596b0b37cc (diff)
downloadedk2-dcdaee884f1b504eca801e61b9cc553b6be31ed0.tar.gz
edk2-dcdaee884f1b504eca801e61b9cc553b6be31ed0.tar.bz2
edk2-dcdaee884f1b504eca801e61b9cc553b6be31ed0.zip
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c
index 51ff210d18..40d0230b4d 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)) {