Unchecked return value detector#
Name: unchecked-return-value
Reports when a function call return value is unused.
Example#
- The return value of
transferFrom
is unused, possibly causing logic errors since the transfer may fail. - The return value of
call
is unused, silently discarding the boolean indicating whether the call succeeded. - The return value of
transfer
is unused, possibly causing logic errors since the transfer may fail.
Parameters#
The detector does not accept any additional parameters.