-
Notifications
You must be signed in to change notification settings - Fork 63
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 unused variable check #864
Conversation
FWIW, I've enjoyed the distinction of IGNORE and IGNORABLE in CL declarations, mostly for macro-generated code. But I do like the |
I'm a fan of Rust's using |
I like this. I'll update this pr to make |
d50d993
to
be8e5a7
Compare
758bb75
to
ab84519
Compare
Add warnings for unused variables:
Variables can be marked as intentionally used by prefixing them with
_
. If an intentionally ignored variable is used, then a warning is generated:Fixes #12