Skip to content

C++: Add cpp/unused-local-variable test case with switch initializer #8672

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

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

jketema
Copy link
Contributor

@jketema jketema commented Apr 5, 2022

This is similar to the test case with the if initializer, and we should not forget about it once we support if initialization.

This is similar to the test case with the `if` initializer, and we should
not forget about it once we support `if` initialization.
@jketema jketema requested a review from a team as a code owner April 5, 2022 16:31
@github-actions github-actions bot added the C++ label Apr 5, 2022
@jketema jketema added the no-change-note-required This PR does not need a change note label Apr 5, 2022
Copy link
Contributor

@geoffw0 geoffw0 left a comment

Choose a reason for hiding this comment

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

LGTM

@geoffw0 geoffw0 merged commit 6c70cb4 into github:main Apr 6, 2022
@jketema jketema deleted the unused-locals branch April 6, 2022 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants