diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-14 09:12:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-14 09:12:21 -0700 |
commit | ad0166a9829a490669658ca4f265b87ec4c96590 (patch) | |
tree | 1f204772087b70ae3ee53c23ce1eefbdd0f26d6d /src | |
parent | 81739a5448140d9b8d65c202e8fbd1a50392a71e (diff) | |
parent | a7d6c0d6ea55fa11049a02ff639666796d773ac0 (diff) |
Merge pull request #661 from ogniK5377/assert-nit
No need to use ASSERT_MSG with an empty assert message
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/kernel/hle_ipc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cpp index 609cdbff2..2532dd450 100644 --- a/src/core/hle/kernel/hle_ipc.cpp +++ b/src/core/hle/kernel/hle_ipc.cpp @@ -214,8 +214,8 @@ ResultCode HLERequestContext::WriteToOutgoingCommandBuffer(Thread& thread) { (sizeof(IPC::CommandHeader) + sizeof(IPC::HandleDescriptorHeader)) / sizeof(u32); ASSERT_MSG(!handle_descriptor_header->send_current_pid, "Sending PID is not implemented"); - ASSERT_MSG(copy_objects.size() == handle_descriptor_header->num_handles_to_copy); - ASSERT_MSG(move_objects.size() == handle_descriptor_header->num_handles_to_move); + ASSERT(copy_objects.size() == handle_descriptor_header->num_handles_to_copy); + ASSERT(move_objects.size() == handle_descriptor_header->num_handles_to_move); // We don't make a distinction between copy and move handles when translating since HLE // services don't deal with handles directly. However, the guest applications might check |