Versions Compared

Key

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

...

This noncompliant code attempts to delete all the null names from the list in an assertion. However, the boolean Boolean expression is not evaluated when assertions are disabled.

...

The possibility of side effects in assertions can be avoided by decoupling the boolean Boolean expression from the assertion:

...