Skip to content

Commit

Permalink
Silence a forgotten warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
jief666 committed Feb 10, 2021
1 parent 95be95c commit f17a05f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions LegacyBios/BlockIoDxe/LegacyBiosThunk.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ LegacyBiosInt86 (
IN IA32_REGISTER_SET *Regs
)
{
UINTN Status;
// UINTN Status;
UINTN Eflags;
IA32_REGISTER_SET ThunkRegSet;
BOOLEAN Ret;
Expand Down Expand Up @@ -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));
Expand All @@ -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);

//
Expand Down

0 comments on commit f17a05f

Please sign in to comment.