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

uninitialized-local don't report variable in loop header #1911

Merged
merged 2 commits into from
May 16, 2023

Conversation

smonicas
Copy link
Contributor

Don't report an uninitialized local for a variable declared in the loop header. i in the example.

   for (uint i; i < 10; i++) {}

@montyly montyly merged commit 5917de9 into dev May 16, 2023
@montyly montyly deleted the dev-uninitialized-local-for branch May 16, 2023 08:49
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