-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
HasNoTokens.sol issues Unused local variable compilation warning #367
Comments
Crazy and temporary solution, but it's working.
Fixes compiler warnings abount unused local variables. Issue OpenZeppelin#367
Crazy and temporary solution, but it's working.
Crazy and temporary solution, but it's working.
Crazy and temporary solution, but it's working.
Crazy and temporary solution, but it's working.
Crazy and temporary solution, but it's working.
Crazy and temporary solution, but it's working.
Crazy and temporary solution, but it's working.
Crazy and temporary solution, but it's working.
Crazy and temporary solution, but it's working.
Crazy and temporary solution, but it's working.
Crazy and temporary solution, but it's working.
See #410 for a tentative solution that commented out the variable names. Note that the NatSpec documentation for the variables had to be removed, which is not really acceptable. The proposed solution is to add a no-op mention of the variables. I think simply adding a statement for each variable works: |
I don't get these errors on 0.4.18 after running |
True, this was fixed in #576! |
solc version 13.
The text was updated successfully, but these errors were encountered: