Skip to content

Commit

Permalink
Refs #21751. Document else.
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <[email protected]>
  • Loading branch information
MiguelCompany committed Sep 26, 2024
1 parent 43ae9a6 commit 750eaa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/rtps/messages/MessageReceiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ bool MessageReceiver::proc_Submsg_Data(
ch.serializedPayload.length = payload_size;
ch.serializedPayload.max_size = payload_size;
}
else
else // keyFlag would be true since we are inside an if (dataFlag || keyFlag)
{
if (payload_size <= PARAMETER_KEY_HASH_LENGTH)
{
Expand Down

0 comments on commit 750eaa0

Please sign in to comment.