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