Skip to content
Snippets Groups Projects
Unverified Commit 86f9c9aa authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #3671 from lioncash/switch

kernel/thread: Resolve -Wswitch warnings
parents 79c1269f 521c4c33
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment