Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: removed annex J reference

If control reaches the closing curly brace (}) of a non-void function without evaluating a return statement, using the return value of the function call causes undefined behavior. See is undefined behavior 88 in Annex J of the C Standard .  This rule is related to MSC01-C. Strive for logical completeness because both guideilnes guidelines are intended to ensure that programs properly handle all possible conditions.

...