summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-03 15:51:26 +0000
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-03 15:51:26 +0000
commitae69c0473611cd817ca8668db949801307e45dad (patch)
tree3a662693bfd448eef5d04c21eae6aa895468b48d
parentde1f9dd9b1718f465a64be6b4991a28a20a76a9b (diff)
downloadedk2-platforms-ae69c0473611cd817ca8668db949801307e45dad.tar.xz
Verify that Status variable is initialized.
submitted-by: jcarsey reviewed-by: lgrosenb reviewed-by: rhale git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11752 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--ShellPkg/Application/Shell/ShellEnvVar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ShellPkg/Application/Shell/ShellEnvVar.c b/ShellPkg/Application/Shell/ShellEnvVar.c
index 810f843149..d674f14c24 100644
--- a/ShellPkg/Application/Shell/ShellEnvVar.c
+++ b/ShellPkg/Application/Shell/ShellEnvVar.c
@@ -154,6 +154,7 @@ GetEnvironmentVariableList(
return (Status);
}
} else {
+ Status = EFI_SUCCESS;
MaxVarSize = 16384;
}