Versions Compared

Key

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

...

Code and values that have no effect can be detected by suitable static analysis.

Related Guidelines

ISO/IEC TR 24772:2013Obscure Language Features [BRS]
Unspecified Functionality [BVQ]
Likely incorrect expressions [KOA]
Dead and Deactivated Code [XYQ]
[MISRA 04]Rule 2.4
MITRE 07CWE ID 561, Dead code

...