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

tests: canbus: isotp: conformance: fix shadow variables removal #61732

Merged

Conversation

martinjaeger
Copy link
Member

Remove shadow variables found by -Wshadow by using the global recv_ctx consistently throughout all the internal test helper functions.

The fix provided in #61523 did not consider that there is also a send_ctx, so that the variable naming looked quite inconsistent.

This reverts commit 505c17e.

Signed-off-by: Martin Jäger <martin@libre.solar>
Remove shadow variables found by -Wshadow by using the global recv_ctx
consistently throughout all the internal test helper functions.

Signed-off-by: Martin Jäger <martin@libre.solar>
Copy link
Member

@henrikbrixandersen henrikbrixandersen left a comment

Choose a reason for hiding this comment

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

Thanks.

@carlescufi carlescufi merged commit f7134c4 into zephyrproject-rtos:main Aug 22, 2023
18 checks passed
@martinjaeger martinjaeger deleted the isotp-conformance-shadow branch August 22, 2023 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants