Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 15.7 and empty else statements without "else if"
#2
"The else statement" refers to the final else statement in a "if .. else if" construct.

Rule 15.7 does not apply to the above example because there is no "if... else if" construct in the example. No comment or side effect is required in this case.
Posted by and on behalf of the MISRA C Working Group


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)