diff --git a/Kernel/Syscalls/alarm.cpp b/Kernel/Syscalls/alarm.cpp index da57219c25..52f730cf80 100644 --- a/Kernel/Syscalls/alarm.cpp +++ b/Kernel/Syscalls/alarm.cpp @@ -34,7 +34,7 @@ ErrorOr Process::sys$alarm(unsigned seconds) m_alarm_timer = TRY(adopt_nonnull_ref_or_enomem(new (nothrow) Timer)); } auto timer_was_added = TimerQueue::the().add_timer_without_id(*m_alarm_timer, CLOCK_REALTIME_COARSE, deadline, [this]() { - [[maybe_unused]] auto rc = send_signal(SIGALRM, nullptr); + MUST(send_signal(SIGALRM, nullptr)); }); if (!timer_was_added) return ENOMEM;