summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}