Skip to content

Fix wShadow compile warning#250

Merged
clalancette merged 1 commit intoros:rollingfrom
SteveMacenski:patch-1
Oct 27, 2023
Merged

Fix wShadow compile warning#250
clalancette merged 1 commit intoros:rollingfrom
SteveMacenski:patch-1

Conversation

@SteveMacenski
Copy link
Member

it is defined on L479 and then again in the for loop. Renamed the for look items so that it doesn't compile with warnings turned to errors with -wshadow enabled

@SteveMacenski
Copy link
Member Author

I see there is both a rolling and a ros2 branch, so I selected Rolling but I wasn't sure which

@clalancette
Copy link
Contributor

I see there is both a rolling and a ros2 branch, so I selected Rolling but I wasn't sure which

Yeah, rolling is correct. One of these days we'll make that clear.

Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, good call. I'll run CI on it next.

@clalancette
Copy link
Contributor

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@SteveMacenski
Copy link
Member Author

Sweet! The ticket I linked above can also be closed when this is merged. Found out after I ran into it Ryan reported it as well

@clalancette clalancette merged commit 16ae61c into ros:rolling Oct 27, 2023
@SteveMacenski SteveMacenski deleted the patch-1 branch October 27, 2023 18:56
Wiktor-99 pushed a commit to Wiktor-99/pluginlib that referenced this pull request Nov 19, 2024
Wiktor-99 pushed a commit to Wiktor-99/pluginlib that referenced this pull request Nov 19, 2024
Signed-off-by: Wiktor Bajor <wiktorbajor1@gmail.com>
clalancette pushed a commit that referenced this pull request Dec 13, 2024
Signed-off-by: Wiktor Bajor <wiktorbajor1@gmail.com>
Co-authored-by: Steve Macenski <stevenmacenski@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants