Versions Compared

Key

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

...

Recommendation

Severity

Likelihood

Remediation Cost

Priority

Level

DCL00-PL

low

probable

medium

P2

L3

Related Guidelines

CERT C++ Secure Coding Standard: DCL01-CPP. Do not reuse variable names in subscopes
CERT C Secure Coding Standard: DCL01-C. Do not reuse variable names in subscopes

Automated Detection

Tool

Diagnostic

B::Lint

.* masks earlier declaration in same scope

...