mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 12:06:07 +00:00
Kernel: Ignore unobserved BlockResult from Thread::Sleep
Suppress these in preparation for making BlockResult [[nodiscard]].
This commit is contained in:
parent
ddd79fe2cf
commit
a8a834782c
Notes:
sideshowbarker
2024-07-18 22:18:25 +09:00
Author: https://github.com/bgianfo
Commit: a8a834782c
Pull-request: https://github.com/SerenityOS/serenity/pull/5352
2 changed files with 2 additions and 2 deletions
|
@ -450,7 +450,7 @@ void UHCIController::spawn_port_proc()
|
|||
}
|
||||
}
|
||||
}
|
||||
Thread::current()->sleep(sleep_time);
|
||||
(void)Thread::current()->sleep(sleep_time);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue