Re: [edk2] [PATCH] ShellPkg: Fix VS2010/2012 build failure

2016-07-19 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey <jaben.car...@intel.com>

> -Original Message-
> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Bi,
> Dandan
> Sent: Monday, July 18, 2016 8:07 PM
> To: Ni, Ruiyu <ruiyu...@intel.com>; edk2-devel@lists.01.org
> Subject: Re: [edk2] [PATCH] ShellPkg: Fix VS2010/2012 build failure
> Importance: High
> 
> 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
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] [PATCH] ShellPkg: Fix VS2010/2012 build failure

2016-07-18 Thread Bi, Dandan
Reviewed-by: Dandan Bi 

Thanks,
Dandan

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

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni 
Cc: Dandan Bi 
---
 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