From ae69c0473611cd817ca8668db949801307e45dad Mon Sep 17 00:00:00 2001 From: jcarsey Date: Fri, 3 Jun 2011 15:51:26 +0000 Subject: [PATCH] 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 --- ShellPkg/Application/Shell/ShellEnvVar.c | 1 + 1 file changed, 1 insertion(+) 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; }