Improve unused return value

pull/84/head
Josselin 6 years ago
parent 52a973722a
commit 99767a1bb4
  1. 2
      slither/detectors/operations/unused_return_values.py

@ -48,6 +48,8 @@ class UnusedReturnValues(AbstractDetector):
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"

Loading…
Cancel
Save