MetaCredo.Check.Warning.UnusedOperation (MetaCredo v0.1.0)

View Source

Detects function call results that are unused. A function call appearing as a statement in a block whose result is neither assigned nor returned (i.e., not the last statement and not wrapped in an assignment) likely indicates a missing assignment or accidental side-effect-only call.

Category: Warning / Priority: normal