diff --git a/LegacyBios/BlockIoDxe/LegacyBiosThunk.c b/LegacyBios/BlockIoDxe/LegacyBiosThunk.c index 1d3f55d45..b67ba358c 100644 --- a/LegacyBios/BlockIoDxe/LegacyBiosThunk.c +++ b/LegacyBios/BlockIoDxe/LegacyBiosThunk.c @@ -150,7 +150,7 @@ LegacyBiosInt86 ( IN IA32_REGISTER_SET *Regs ) { - UINTN Status; +// UINTN Status; UINTN Eflags; IA32_REGISTER_SET ThunkRegSet; BOOLEAN Ret; @@ -188,7 +188,7 @@ LegacyBiosInt86 ( // // 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); Stack16 = (UINT16 *)((UINT8 *) BiosDev->ThunkContext->RealModeBuffer + BiosDev->ThunkContext->RealModeBufferSize - sizeof (UINT16)); @@ -204,7 +204,7 @@ LegacyBiosInt86 ( // // 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); //