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>
This commit is contained in:
Ruiyu Ni 2016-07-19 10:26:19 +08:00
parent fc3f005aee
commit 9ba25c7db7
1 changed files with 2 additions and 0 deletions

View File

@ -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...)