diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-07-19 10:26:19 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-25 11:05:24 +0800 |
commit | 66aaea1964433fccee42850b76e7f2e4a9858b2b (patch) | |
tree | 5af80e8d0f7513d40cd2cdcf90ed9bdeb7800293 | |
parent | 3c75b62e73087675dad626304b0f7916a4b30f37 (diff) | |
download | edk2-platforms-66aaea1964433fccee42850b76e7f2e4a9858b2b.tar.xz |
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)
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/EfiDecompress.c | 2 |
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...)
|