mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
Kernel: Remove unused BlockTimeout::m_should_block
This was assigned but never read.
This commit is contained in:
@@ -19,10 +19,8 @@ Thread::BlockTimeout::BlockTimeout(bool is_absolute, const Time* time, const Tim
|
||||
{
|
||||
if (m_infinite)
|
||||
return;
|
||||
if (*time > Time::zero()) {
|
||||
if (*time > Time::zero())
|
||||
m_time = *time;
|
||||
m_should_block = true;
|
||||
}
|
||||
m_start_time = start_time ? *start_time : TimeManagement::the().current_time(clock_id);
|
||||
if (!is_absolute)
|
||||
m_time += m_start_time;
|
||||
|
||||
Reference in New Issue
Block a user