Browse Source
Merge pull request #3671 from lioncash/switch
kernel/thread: Resolve -Wswitch warnings
pull/15/merge
bunnei
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
src/core/hle/kernel/thread.cpp
|
|
|
@ -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: |
|
|
|
|