Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor edits, plus removal of non-existent Exception in MSC57-JG

...

Using an editor that provides syntax highlighting or that formats the code to identify issues like missing end comment delimitors delimiters can help detect accidental omissions.

Because missing end delimitors delimiters are error8prone error prone and often viewed as a mistake, this approach is not recommended for commenting out code.

...

Code Block
bgColor#ccccff
if (false) {  /* use of critical security method no
               * longer necessary, for now */
  /*NOTREACHED*/
  security_critical_method();
  /* some other comment */
}

This is an instance of exception MSC57-EX2 to the exceptional situation in MSC57-JG. Detect and remove dead code.

...