ShellPkg: Fix recursion when deleting all variables.

Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13484 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
ydong10 2012-07-04 01:14:07 +00:00
parent eda08e5976
commit 9d8fa791f5
1 changed files with 1 additions and 0 deletions

View File

@ -145,6 +145,7 @@ ProcessVariables (
STRING_TOKEN(STR_DMPSTORE_DELETE_DONE),
gShellDebug1HiiHandle,
gRT->SetVariable(FoundVarName, &FoundVarGuid, Atts, 0, NULL));
FoundVarName[0] = CHAR_NULL;
}
}