...
| Code Block | ||
|---|---|---|
| ||
int a;
a == b;
/* ... */
|
This is likely a case of the programmer mistakenly using the equals operator == instead of the assignment operator =.
...
| Code Block | ||
|---|---|---|
| ||
int a;
a = b;
/* ... */
|
Non-Compliant Code Example 2
...
...
| Code Block | ||
|---|---|---|
| ||
int a;
a == b;
/* ... */
|
This is likely a case of the programmer mistakenly using the equals operator == instead of the assignment operator =.
...
| Code Block | ||
|---|---|---|
| ||
int a;
a = b;
/* ... */
|
...