vetkit.go.quality.self-assignment
A variable is assigned to itself. This has no effect and usually indicates a typo.
Last updated:
Suite: Code quality
go
A variable is assigned to itself. This has no effect and usually indicates a typo.
Category: QUALITY · Engine rule severity: WARNING
How to fix it
Assign the intended value.
Rule pattern example
The engine’s matching pattern, not a confirmed exploit. Metavariables and ellipses describe matching syntax.
$X = $XSource: packages/engine/rules/quality/go.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.