]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkNt32Pkg/Dxe/PlatformBds/Generic/MemoryTest.c
1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
[mirror_edk2.git] / EdkNt32Pkg / Dxe / PlatformBds / Generic / MemoryTest.c
index af6c1ab2176cd370cba90417c012c02f535b59a4..d4e5bc50efc0dad52310450c9e6271713ac9d756 100644 (file)
@@ -240,7 +240,6 @@ Returns:
   EFI_GRAPHICS_OUTPUT_BLT_PIXEL     Color;\r
   UINT8                             Value;\r
   UINTN                             DataSize;\r
-  UINT32                            Attributes;\r
 \r
   ReturnStatus = EFI_SUCCESS;\r
   ZeroMem (&Key, sizeof (EFI_INPUT_KEY));\r
@@ -412,7 +411,7 @@ Done:
   Status = gRT->GetVariable (\r
                   L"BootState",\r
                   &gEfiBootStateGuid,\r
-                  &Attributes,\r
+                  NULL,\r
                   &DataSize,\r
                   &Value\r
                   );\r