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

Warn about unused local variables #581

Open
cgay opened this issue Sep 6, 2013 · 1 comment
Open

Warn about unused local variables #581

cgay opened this issue Sep 6, 2013 · 1 comment

Comments

@cgay
Copy link
Member

cgay commented Sep 6, 2013

I just found a bunch of dead code. If the compiler had warned about unused local variables I would've seen it long ago because I would've gotten warning about definitions that were "not used and not exported".

@cgay
Copy link
Member Author

cgay commented May 18, 2018

I'm not sure what 2013 Me meant there, but warning about unused local variables still seems like a good idea to 2018 Me.

@cgay cgay changed the title The compiler should warn about unused local variables Warn about unused local variables Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant