From 6874dbd0e24535c3c4a89dddfdac98ad25b0617b Mon Sep 17 00:00:00 2001 From: qwang12 Date: Wed, 13 Dec 2006 03:11:47 +0000 Subject: 1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c. 2) Correct some minor bugs: when invoking gRT->GetVariable the Attributes field can be optianal. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2090 6f19259b-4bc3-4df7-8a09-765794883524 --- EdkNt32Pkg/Dxe/PlatformBds/Generic/MemoryTest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'EdkNt32Pkg/Dxe') diff --git a/EdkNt32Pkg/Dxe/PlatformBds/Generic/MemoryTest.c b/EdkNt32Pkg/Dxe/PlatformBds/Generic/MemoryTest.c index af6c1ab217..d4e5bc50ef 100644 --- a/EdkNt32Pkg/Dxe/PlatformBds/Generic/MemoryTest.c +++ b/EdkNt32Pkg/Dxe/PlatformBds/Generic/MemoryTest.c @@ -240,7 +240,6 @@ Returns: EFI_GRAPHICS_OUTPUT_BLT_PIXEL Color; UINT8 Value; UINTN DataSize; - UINT32 Attributes; ReturnStatus = EFI_SUCCESS; ZeroMem (&Key, sizeof (EFI_INPUT_KEY)); @@ -412,7 +411,7 @@ Done: Status = gRT->GetVariable ( L"BootState", &gEfiBootStateGuid, - &Attributes, + NULL, &DataSize, &Value ); -- cgit v1.2.3