Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about 14.2 and the controlling variable
#3
misra-c Wrote:Rule 14.2 includes the following statements:
Quote: Second clause which
* shall use the loop counter and optionally loop control flags
Quote: A loop control flag is defined as a single identifier denoting an object with essentially Boolean type that is used in the second clause.
"found" does not meet the criteria for a loop control flag and therefore is non-compliant with rule 14.2
All right, thanks a lot for the clarification!
<t></t>


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)