CWE Rule 482
Description
The code uses an operator for comparison when the intention was to perform an assignment.
Polyspace Implementation
The rule checker checks for Invalid use of == (equality) operator.
Examples
Check Information
| Category: Others |
PQL Name:
std.cwe_native.R482
|
Version History
Introduced in R2023a