Versions Compared

Key

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

...

In this noncompliant code example, a semicolon is used on the same line as an if statement.:

Code Block
bgColor#FFcccc
langc
if (a == b); {
  /* ... */
}

...

It is likely, in this example, that the semicolon was accidentally inserted.:

Code Block
bgColor#ccccff
langc
if (a == b) {
  /* ... */
}

...