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

Remove ineffective break statements. #155

Closed
wants to merge 1 commit into from
Closed

Remove ineffective break statements. #155

wants to merge 1 commit into from

Conversation

bogosj
Copy link

@bogosj bogosj commented Jan 27, 2020

https://staticcheck.io/docs/checks#SA4011

These breaks were not doing anything, since they break out of the switch, not the for on line 241. Collapsed all three cases of "no-op" into a single line.

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.

1 participant