Common Weakness Enumeration

    CWE Definition / CWE-563

    CWE-563: Assignment to Variable without Use

    The variable's value is assigned but never used, i.e., is a dead store. That is, after the assignment, the variable is either assigned another value or goes out of scope.

    Published:19 Jul 2006
    Organization:MITRE
    Modified:28 Oct 2026

    Related Weakness

    CWE-1164: Irrelevant Code