X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkNt32Pkg%2FDxe%2FPlatformBds%2FGeneric%2FMemoryTest.c;h=d4e5bc50efc0dad52310450c9e6271713ac9d756;hp=af6c1ab2176cd370cba90417c012c02f535b59a4;hb=6874dbd0e24535c3c4a89dddfdac98ad25b0617b;hpb=bc022470e469566d807cf39b9e03cccc3b7e8685 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 );