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

add unused-return-transfers detector + update unused-return #822

Merged
merged 4 commits into from
Apr 19, 2021

Conversation

rmi7
Copy link
Contributor

@rmi7 rmi7 commented Apr 9, 2021

fixes #816

  • adds a new detector unused-return-transfers
  • updates unused-return to exclude transfer/transferFrom calls, since they are caught by the new detector.

@rmi7 rmi7 requested a review from montyly April 9, 2021 14:12
@lgtm-com
Copy link

lgtm-com bot commented Apr 9, 2021

This pull request introduces 1 alert when merging 2780549 into cf07c59 - view on LGTM.com

new alerts:

  • 1 for Unused import

@lgtm-com
Copy link

lgtm-com bot commented Apr 9, 2021

This pull request introduces 1 alert when merging 9b98792 into cf07c59 - view on LGTM.com

new alerts:

  • 1 for Unused import

- Inherits from Unused return (avoid duplicate code)
- Rename unchecked-return
- Update description/recommendations

Additionally removed txt_description from all the UnusedReturn derived
class (its not used anymore)
@lgtm-com
Copy link

lgtm-com bot commented Apr 19, 2021

This pull request introduces 1 alert when merging c2f7773 into cf07c59 - view on LGTM.com

new alerts:

  • 1 for Unused import

@montyly
Copy link
Member

montyly commented Apr 19, 2021

I made the following changes:

  • Fix unused return (it was not detecting unused return from state variable calls anymore)
  • Inherit from Unused return (avoid duplicate code)
  • Rename to unchecked-return
  • Update description/recommendations

Additionally removed txt_description from all the UnusedReturn derived
class (it's not used anymore)

@montyly montyly merged commit 3b7710e into dev Apr 19, 2021
@montyly montyly deleted the add-unused-return-transfers-detector branch April 19, 2021 13:40
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.

2 participants