Weakness (CWE)
CWE-563: Assignment to Variable without Use
Base Draft
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.
How to prevent it (1 mitigation)
-
Implementation
Remove unused variables from the code.
Source: MITRE CWE-563
0 results · Clear filters · Feed
Nothing found.