mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-25 00:54:32 +00:00
Kernel: Ignore unobserved BlockResult from Thread::Sleep
Suppress these in preparation for making BlockResult [[nodiscard]].
This commit is contained in:
committed by
Andreas Kling
parent
ddd79fe2cf
commit
a8a834782c
@@ -38,7 +38,7 @@ void SyncTask::spawn()
|
||||
dbgln("SyncTask is running");
|
||||
for (;;) {
|
||||
VFS::the().sync();
|
||||
Thread::current()->sleep({ 1, 0 });
|
||||
(void)Thread::current()->sleep({ 1, 0 });
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user