summaryrefslogtreecommitdiff
path: root/Kernel/Scheduler.cpp
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2021-06-30 07:15:21 +0200
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-07-03 01:56:31 +0430
commitfda9f394d14cfc077a4d5f2d5ca56d99a429c1e9 (patch)
treef090c6c805cb9dc8bc6bf8fb88ed54156289b8aa /Kernel/Scheduler.cpp
parentb9f30c6f2a69b0c07d9a61e5dd81f439a1eafc8f (diff)
downloadserenity-fda9f394d14cfc077a4d5f2d5ca56d99a429c1e9.zip
Kernel: Fix always-true comparison warnings
Diffstat (limited to 'Kernel/Scheduler.cpp')
-rw-r--r--Kernel/Scheduler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Scheduler.cpp b/Kernel/Scheduler.cpp
index a5daf526f7..850553b157 100644
--- a/Kernel/Scheduler.cpp
+++ b/Kernel/Scheduler.cpp
@@ -460,7 +460,7 @@ Process* Scheduler::colonel()
UNMAP_AFTER_INIT void Scheduler::initialize()
{
- VERIFY(&Processor::current() != nullptr); // sanity check
+ VERIFY(Processor::is_initialized()); // sanity check
RefPtr<Thread> idle_thread;
g_finalizer_wait_queue = new WaitQueue;