Revision: 18516
http://sourceforge.net/p/edk2/code/18516
Author: hwu1225
Date: 2015-09-21 01:03:56 +0000 (Mon, 21 Sep 2015)
Log Message:
-----------
MdeModulePkg/Core/Dxe/Gcd: remove set but not used variables
These trip up compilation with gcc.
(Sync patch r18515 from main trunk.)
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]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Star Zeng <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/18515
Modified Paths:
--------------
branches/UDK2015/MdeModulePkg/Core/Dxe/Gcd/Gcd.c
Modified: branches/UDK2015/MdeModulePkg/Core/Dxe/Gcd/Gcd.c
===================================================================
--- branches/UDK2015/MdeModulePkg/Core/Dxe/Gcd/Gcd.c 2015-09-21 00:50:32 UTC
(rev 18515)
+++ branches/UDK2015/MdeModulePkg/Core/Dxe/Gcd/Gcd.c 2015-09-21 01:03:56 UTC
(rev 18516)
@@ -2061,9 +2061,6 @@
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 @@
BaseAddress = 0;
Length = 0;
Attributes = 0;
- MaxMemoryBaseAddress = 0;
- MaxMemoryLength = 0;
- MaxMemoryAttributes = 0;
//
// Cache the PHIT HOB for later use
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits