Skip to content

Use less common variable name in macro#550

Merged
fujitatomoya merged 1 commit intorollingfrom
sloretz__rcl_check_error_state_set
Apr 10, 2026
Merged

Use less common variable name in macro#550
fujitatomoya merged 1 commit intorollingfrom
sloretz__rcl_check_error_state_set

Conversation

@sloretz
Copy link
Copy Markdown
Contributor

@sloretz sloretz commented Apr 10, 2026

Description

Part of ros2/rcl#1312

The variable name ret was colliding with other variables named ret in the above PR's new macro, and that caused warnings on Windows.

Is this user-facing behavior change?

Did you use Generative AI?

Yes, I used gemini to find this issue

Additional Information

Signed-off-by: Shane Loretz <sloretz@intrinsic.ai>
Copy link
Copy Markdown
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

good catch 👍

@fujitatomoya fujitatomoya merged commit 974a1b1 into rolling Apr 10, 2026
4 checks passed
@sloretz sloretz deleted the sloretz__rcl_check_error_state_set branch April 10, 2026 15:09
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