ams-libs: AMS_ASSERT no longer invokes expression
This commit is contained in:
1 parent
5dc64bc1f7
commit
9b04ff0f54
38 files changed
+82
-23
No files matched your search
@@ -109,6 +109,7 @@ namespace ams::os::impl {
|
||||
const auto count = mq->count;
|
||||
const auto offset = mq->offset;
|
||||
AMS_ASSERT(count > 0);
|
||||
AMS_UNUSED(count);
|
||||
|
||||
return mq->buffer[offset];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user