summaryrefslogtreecommitdiff
path: root/Kernel/Scheduler.cpp
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2020-08-05 02:13:30 -0700
committerAndreas Kling <kling@serenityos.org>2020-08-05 14:36:48 +0200
commit946c96dd5696116048097340db86a26ce9aa7a58 (patch)
tree6ffd331ca633fd760d66ae90c63eb159f2895ca2 /Kernel/Scheduler.cpp
parentd67069d92246a12ef3e27dc4890698ea1d83eccc (diff)
downloadserenity-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.cpp3
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;
});