Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wShadow compile warning #250

Merged
merged 1 commit into from
Oct 27, 2023
Merged

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

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

@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

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
2 checks passed
@SteveMacenski SteveMacenski deleted the patch-1 branch October 27, 2023 18:56
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.

None yet

2 participants