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

QL: add redundant-assignment query #11343

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

erik-krogh
Copy link
Contributor

@erik-krogh erik-krogh commented Nov 21, 2022

A quick idea I had.
Assigning the same value to a variable twice is redundant, so the second assignment can be removed.
There weren't a lot of results.

@erik-krogh erik-krogh marked this pull request as ready for review Nov 21, 2022
@erik-krogh erik-krogh requested review from a team as code owners Nov 21, 2022
@erik-krogh erik-krogh added the no-change-note-required This PR does not need a change note label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant