This page is experimental and may change significantly in future releases.
Declaration of Variable with Unnecessarily Wide Scope
Properties
id: d3f:CWE-1126
- name
- Declaration of Variable with Unnecessarily Wide Scope
- definition
- The source code declares a variable in one scope, but the variable is only used within a narrower scope.
Neighbors
CWE-1126 has no direct neighbors in this release.Inferred Relationships
Related Countermeasure Techniques
Related Weaknesses
CWE-1126 has no related weaknesses in this release.