Silence a forgotten warning.

This commit is contained in:
jief666 2021-02-10 16:40:02 +03:00
parent 95be95c531
commit f17a05f1da
1 changed files with 3 additions and 3 deletions

View File

@ -150,7 +150,7 @@ LegacyBiosInt86 (
IN IA32_REGISTER_SET *Regs IN IA32_REGISTER_SET *Regs
) )
{ {
UINTN Status; // UINTN Status;
UINTN Eflags; UINTN Eflags;
IA32_REGISTER_SET ThunkRegSet; IA32_REGISTER_SET ThunkRegSet;
BOOLEAN Ret; BOOLEAN Ret;
@ -188,7 +188,7 @@ LegacyBiosInt86 (
// //
// Set Legacy16 state. 0x08, 0x70 is legacy 8259 vector bases. // Set Legacy16 state. 0x08, 0x70 is legacy 8259 vector bases.
// //
Status = BiosDev->Legacy8259->SetMode (BiosDev->Legacy8259, Efi8259LegacyMode, NULL, NULL); /*Status =*/ BiosDev->Legacy8259->SetMode (BiosDev->Legacy8259, Efi8259LegacyMode, NULL, NULL);
// ASSERT_EFI_ERROR(Status); // ASSERT_EFI_ERROR(Status);
Stack16 = (UINT16 *)((UINT8 *) BiosDev->ThunkContext->RealModeBuffer + BiosDev->ThunkContext->RealModeBufferSize - sizeof (UINT16)); Stack16 = (UINT16 *)((UINT8 *) BiosDev->ThunkContext->RealModeBuffer + BiosDev->ThunkContext->RealModeBufferSize - sizeof (UINT16));
@ -204,7 +204,7 @@ LegacyBiosInt86 (
// //
// Restore protected mode interrupt state // Restore protected mode interrupt state
// //
Status = BiosDev->Legacy8259->SetMode (BiosDev->Legacy8259, Efi8259ProtectedMode, NULL, NULL); /*Status =*/ BiosDev->Legacy8259->SetMode (BiosDev->Legacy8259, Efi8259ProtectedMode, NULL, NULL);
// ASSERT_EFI_ERROR(Status); // ASSERT_EFI_ERROR(Status);
// //