mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-24 12:26:26 -05:00
kernel/thread: Resolve -Wswitch warnings
This commit is contained in:
parent
64b5985f0a
commit
521c4c33b5
1 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,7 @@ void Thread::ResumeFromWait() {
|
|||
ASSERT_MSG(wait_objects.empty(), "Thread is waking up while waiting for objects");
|
||||
|
||||
switch (status) {
|
||||
case ThreadStatus::Paused:
|
||||
case ThreadStatus::WaitSynch:
|
||||
case ThreadStatus::WaitHLEEvent:
|
||||
case ThreadStatus::WaitSleep:
|
||||
|
@ -92,6 +93,7 @@ void Thread::ResumeFromWait() {
|
|||
case ThreadStatus::WaitMutex:
|
||||
case ThreadStatus::WaitCondVar:
|
||||
case ThreadStatus::WaitArb:
|
||||
case ThreadStatus::Dormant:
|
||||
break;
|
||||
|
||||
case ThreadStatus::Ready:
|
||||
|
|
Loading…
Reference in a new issue