Common Weakness Enumeration

    CWE Definition / CWE-1164

    CWE-1164: Irrelevant Code

    The product contains code that is not essential for execution, i.e., makes no state changes and has no side effects that alter data or control flow - or is unreachable under any circumstances - such that removal of the code would have no impact to intended functionality or correctness.

    Published:2 Jan 2019
    Organization:MITRE
    Modified:28 Oct 2026

    Related Weakness

    CWE-710: Improper Adherence to Coding Standards