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

Add diagnostic for variables that are only written and never read #478

Merged
merged 9 commits into from
Jul 24, 2024

Conversation

MarkusAmshove
Copy link
Owner

First draft only uses RESET.

This should look if all references are IMutateVariables where IMutateVariables::operands() contains the variable.

@MarkusAmshove MarkusAmshove added the natlint🐑 Linter specific stuff like analyzers label May 23, 2024
@MarkusAmshove MarkusAmshove added this to the v0.14 milestone May 23, 2024
Copy link

sonarcloud bot commented May 24, 2024

@MarkusAmshove MarkusAmshove marked this pull request as draft June 29, 2024 08:04
@MarkusAmshove MarkusAmshove marked this pull request as ready for review July 24, 2024 07:36
Copy link

sonarcloud bot commented Jul 24, 2024

@MarkusAmshove MarkusAmshove merged commit c1a8ff9 into main Jul 24, 2024
8 checks passed
@MarkusAmshove MarkusAmshove deleted the natlint/variable-never-accessed branch July 24, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
natlint🐑 Linter specific stuff like analyzers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant