diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-07-19 10:26:19 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-07-19 11:12:22 +0800 |
commit | 9ba25c7db7e918c3c911dd20641ba54ce721e872 (patch) | |
tree | bb0198852f47d3060b453f00722eb3ec13c32832 | |
parent | fc3f005aee72aa5c3e1cf825381f8c3755b02101 (diff) | |
download | edk2-9ba25c7db7e918c3c911dd20641ba54ce721e872.tar.gz edk2-9ba25c7db7e918c3c911dd20641ba54ce721e872.tar.bz2 edk2-9ba25c7db7e918c3c911dd20641ba54ce721e872.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>
-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...)
|