/* >>>------------------------------------------------------------ * * File: rule_14.7.c, Module: M2CM-3.2-QAC-8.1.2 * * RULE 14.7 (Required): * A function shall have a single point of exit at the end of the * function. * * Implemented by message: * 2889 This function has more than one 'return' path. * * <<<------------------------------------------------------------ */ #include "misra.h" #include "m2cmex.h" extern S16 test_1407( void ) /* MISRA Violation */ { if ( s16a > 0 ) { return 0; } else { return 1; } }