1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:17:36 +00:00

Fix some compilation warnings.

This commit is contained in:
Andreas Kling 2019-02-12 12:11:22 +01:00
parent f3c8821b0f
commit 7ce15f1c54
5 changed files with 8 additions and 8 deletions

View file

@ -116,10 +116,8 @@ void IDEDiskDevice::handle_irq()
void IDEDiskDevice::initialize()
{
byte status;
status = IO::in8(IDE0_STATUS);
#ifdef DISK_DEBUG
byte status = IO::in8(IDE0_STATUS);
kprintf("initial status: ");
print_ide_status(status);
#endif