mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 03:06:52 -04:00
ams-libs: AMS_ASSERT no longer invokes expression
This commit is contained in:
parent
5dc64bc1f7
commit
9b04ff0f54
38 changed files with 82 additions and 23 deletions
|
@ -123,8 +123,9 @@ namespace ams::os {
|
|||
|
||||
const s32 prev_prio = thread->base_priority;
|
||||
|
||||
bool success = impl::GetThreadManager().ChangePriority(thread, priority);
|
||||
const bool success = impl::GetThreadManager().ChangePriority(thread, priority);
|
||||
AMS_ASSERT(success);
|
||||
AMS_UNUSED(success);
|
||||
|
||||
thread->base_priority = priority;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue