...
In this noncompliant code example, a semicolon is used on the same line as an if statement.
| Code Block | ||||
|---|---|---|---|---|
| ||||
if (a == b); {
/* ... */
}
|
...
It is likely, in this example, that the semicolon was accidentally inserted.
| Code Block | ||||
|---|---|---|---|---|
| ||||
if (a == b) {
/* ... */
}
|
...