Skip to content

Commit

Permalink
Improve unused return value
Browse files Browse the repository at this point in the history
  • Loading branch information
montyly committed Nov 19, 2018
1 parent 52a9737 commit 99767a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions slither/detectors/operations/unused_return_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def detect(self):
results = []
for c in self.slither.contracts:
for f in c.functions + c.modifiers:
if f.contract != c:
continue
unused_return = self.detect_unused_return_values(f)
if unused_return:
info = "{}.{} ({}) does not use the value returned by external calls:\n"
Expand Down

0 comments on commit 99767a1

Please sign in to comment.