Skip to content

Commit

Permalink
Removed warning
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
  • Loading branch information
ahcorde committed Apr 17, 2024
1 parent a35c846 commit e59a13d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpp/fastdds/core/policy/ParameterList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ bool ParameterList::read_guid_from_cdr_msg(
fastrtps::rtps::GUID_t& guid)
{
bool valid = false;
uint16_t pid;
uint16_t plength;
uint16_t pid = 0;
uint16_t plength = 0;
while (msg.pos < msg.length)
{
valid = true;
Expand Down

0 comments on commit e59a13d

Please sign in to comment.