On 2015/9/18 22:21, Laszlo Ersek wrote:
These trip up compilation with gcc.

Cc: Liming Gao <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Star Zeng <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <[email protected]>
---
  MdeModulePkg/Core/Dxe/Gcd/Gcd.c | 6 ------
  1 file changed, 6 deletions(-)

Reviewed-by: Star Zeng <[email protected]>

And committed at R18515.

Thanks to catch that.
Star

diff --git a/MdeModulePkg/Core/Dxe/Gcd/Gcd.c b/MdeModulePkg/Core/Dxe/Gcd/Gcd.c
index c276962..bd7c6c6 100644
--- a/MdeModulePkg/Core/Dxe/Gcd/Gcd.c
+++ b/MdeModulePkg/Core/Dxe/Gcd/Gcd.c
@@ -2061,9 +2061,6 @@ CoreInitializeMemoryServices (
    UINT64                             Length;
    UINT64                             Attributes;
    UINT64                             Capabilities;
-  EFI_PHYSICAL_ADDRESS               MaxMemoryBaseAddress;
-  UINT64                             MaxMemoryLength;
-  UINT64                             MaxMemoryAttributes;
    EFI_PHYSICAL_ADDRESS               TestedMemoryBaseAddress;
    UINT64                             TestedMemoryLength;
    EFI_PHYSICAL_ADDRESS               HighAddress;
@@ -2091,9 +2088,6 @@ CoreInitializeMemoryServices (
    BaseAddress           = 0;
    Length                = 0;
    Attributes            = 0;
-  MaxMemoryBaseAddress  = 0;
-  MaxMemoryLength       = 0;
-  MaxMemoryAttributes   = 0;

    //
    // Cache the PHIT HOB for later use



_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to