diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-12 12:11:22 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-12 12:11:22 +0100 |
commit | 7ce15f1c54cd56c4303e6fcd613043df1758343d (patch) | |
tree | ce7e139ba2845525160ecb8336e7943d002be231 /Kernel/Scheduler.cpp | |
parent | f3c8821b0fad6c8bac9607859866aec896801bd7 (diff) | |
download | serenity-7ce15f1c54cd56c4303e6fcd613043df1758343d.zip |
Fix some compilation warnings.
Diffstat (limited to 'Kernel/Scheduler.cpp')
-rw-r--r-- | Kernel/Scheduler.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Kernel/Scheduler.cpp b/Kernel/Scheduler.cpp index 827368586a..22b6deddd5 100644 --- a/Kernel/Scheduler.cpp +++ b/Kernel/Scheduler.cpp @@ -12,13 +12,14 @@ static dword time_slice_for(Process::Priority priority) { // One time slice unit == 1ms switch (priority) { - case Process::LowPriority: - return 5; - case Process::NormalPriority: - return 15; case Process::HighPriority: return 50; + case Process::NormalPriority: + return 15; + case Process::LowPriority: + return 5; } + ASSERT_NOT_REACHED(); } Process* current; |