Reviewed-by: Dandan Bi <dandan...@intel.com>

Thanks,
Dandan

-----Original Message-----
From: Ni, Ruiyu 
Sent: Tuesday, July 19, 2016 10:27 AM
To: edk2-devel@lists.01.org
Cc: Bi, Dandan <dandan...@intel.com>
Subject: [PATCH] ShellPkg: Fix VS2010/2012 build failure

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu...@intel.com>
Cc: Dandan Bi <dandan...@intel.com>
---
 ShellPkg/Library/UefiShellDebug1CommandsLib/EfiDecompress.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/EfiDecompress.c 
b/ShellPkg/Library/UefiShellDebug1CommandsLib/EfiDecompress.c
index 90eafe5..28c37ee 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...)
-- 
2.9.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to