mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-20 13:59:59 +00:00
wait_tree: Silence warning about all code paths not returning a value
If code execution hits this spot, something has gone very wrong, so mark the path as unreachable. This silences a warning on MSVC.
This commit is contained in:
parent
47ac369180
commit
9d2cacdc9e
1 changed files with 3 additions and 0 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue