diff options
author | Brian Gianforcaro <b.gianfo@gmail.com> | 2020-08-05 02:13:30 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-05 14:36:48 +0200 |
commit | 946c96dd5696116048097340db86a26ce9aa7a58 (patch) | |
tree | 6ffd331ca633fd760d66ae90c63eb159f2895ca2 /Kernel/Scheduler.cpp | |
parent | d67069d92246a12ef3e27dc4890698ea1d83eccc (diff) | |
download | serenity-946c96dd5696116048097340db86a26ce9aa7a58.zip |
Kernel: Suppress remaining unobserved KResult return codes
These are all cases where there is no clear and easy fix,
I've left FIXME bread crumbs so that these can hopefully
be fixed over time.
Diffstat (limited to 'Kernel/Scheduler.cpp')
-rw-r--r-- | Kernel/Scheduler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/Scheduler.cpp b/Kernel/Scheduler.cpp index 049002836e..976a8f18ca 100644 --- a/Kernel/Scheduler.cpp +++ b/Kernel/Scheduler.cpp @@ -384,7 +384,8 @@ bool Scheduler::pick_next() } if (process.m_alarm_deadline && g_uptime > process.m_alarm_deadline) { process.m_alarm_deadline = 0; - process.send_signal(SIGALRM, nullptr); + // FIXME: Should we observe this signal somehow? + (void)process.send_signal(SIGALRM, nullptr); } return IterationDecision::Continue; }); |