Versions Compared

Key

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

...

This example can be corrected many different ways depending on the intent of the programmer. In this compliant solution, p2 is initialized to NULL rather than the result of bar(). The call to bar() can be removed if {{bar() does not produce any side-effects.

...