summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2012-07-04 01:14:07 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2012-07-04 01:14:07 +0000
commit9d8fa791f518e9fd2453c78fa37bdc08ceaa3796 (patch)
tree5fca7dbfd63bb631d0d2ae7e72069a582988168b /ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c
parenteda08e5976e82869d01a61071cb2210aa384c7a3 (diff)
downloadedk2-platforms-9d8fa791f518e9fd2453c78fa37bdc08ceaa3796.tar.xz
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
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c')
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c
index 4bcc55bdd3..b98c048ad9 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c
@@ -145,6 +145,7 @@ ProcessVariables (
STRING_TOKEN(STR_DMPSTORE_DELETE_DONE),
gShellDebug1HiiHandle,
gRT->SetVariable(FoundVarName, &FoundVarGuid, Atts, 0, NULL));
+ FoundVarName[0] = CHAR_NULL;
}
}