03-03-2016, 08:17 AM
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
Posted by and on behalf of the MISRA C Working Group