summaryrefslogtreecommitdiffstats
path: root/ShellPkg/Library
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2016-07-19 10:26:19 +0800
committerHao Wu <hao.a.wu@intel.com>2016-07-25 11:05:24 +0800
commit66aaea1964433fccee42850b76e7f2e4a9858b2b (patch)
tree5af80e8d0f7513d40cd2cdcf90ed9bdeb7800293 /ShellPkg/Library
parent3c75b62e73087675dad626304b0f7916a4b30f37 (diff)
downloadedk2-66aaea1964433fccee42850b76e7f2e4a9858b2b.tar.gz
edk2-66aaea1964433fccee42850b76e7f2e4a9858b2b.tar.bz2
edk2-66aaea1964433fccee42850b76e7f2e4a9858b2b.zip
ShellPkg: Fix VS2010/2012 build failure
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com> (cherry picked from commit 9ba25c7db7e918c3c911dd20641ba54ce721e872)
Diffstat (limited to 'ShellPkg/Library')
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/EfiDecompress.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/EfiDecompress.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/EfiDecompress.c
index 90eafe570b..28c37ee769 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/EfiDecompress.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/EfiDecompress.c
@@ -52,6 +52,7 @@ ShellCommandRunEfiDecompress (
InFileName = NULL;
OutFileName = NULL;
OutSize = 0;
+ ScratchSize = 0;
ShellStatus = SHELL_SUCCESS;
Status = EFI_SUCCESS;
OutBuffer = NULL;
@@ -59,6 +60,7 @@ ShellCommandRunEfiDecompress (
ScratchBuffer = NULL;
InFileHandle = NULL;
OutFileHandle = NULL;
+ Decompress = NULL;
//
// initialize the shell lib (we must be in non-auto-init...)