Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Remediation of dead code requires the programmer to determine why the code is never executed and then resolve that situation appropriately. To correct the example aboveNoncompliant Code Example, the return is removed from the body of the first conditional statement.

...