From 66aaea1964433fccee42850b76e7f2e4a9858b2b Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Tue, 19 Jul 2016 10:26:19 +0800 Subject: ShellPkg: Fix VS2010/2012 build failure Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni Reviewed-by: Dandan Bi (cherry picked from commit 9ba25c7db7e918c3c911dd20641ba54ce721e872) --- ShellPkg/Library/UefiShellDebug1CommandsLib/EfiDecompress.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ShellPkg/Library') 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...) -- cgit v1.2.3