forked from ShuriZma/suyu
1
0
Fork 0

Merge pull request #802 from lioncash/unreach

wait_tree: Silence warning about all code paths not returning a value
This commit is contained in:
bunnei 2018-07-25 11:08:44 -07:00 committed by GitHub
commit 52cb5dcf0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#include "yuzu/debugger/wait_tree.h" #include "yuzu/debugger/wait_tree.h"
#include "yuzu/util/util.h" #include "yuzu/util/util.h"
#include "common/assert.h"
#include "core/core.h" #include "core/core.h"
#include "core/hle/kernel/event.h" #include "core/hle/kernel/event.h"
#include "core/hle/kernel/handle_table.h" #include "core/hle/kernel/handle_table.h"
@ -169,6 +170,8 @@ QString WaitTreeWaitObject::GetResetTypeQString(Kernel::ResetType reset_type) {
case Kernel::ResetType::Pulse: case Kernel::ResetType::Pulse:
return tr("pulse"); return tr("pulse");
} }
UNREACHABLE();
return {};
} }
WaitTreeObjectList::WaitTreeObjectList( WaitTreeObjectList::WaitTreeObjectList(