Checkers:MISRA.RETURN.NOT_LAST

From Insight-9.2

Revision as of 16:30, 4 August 2010 by Habbott (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Return is not the last statement in a function.

This checker detects violations of the MISRA C 2004 standard, rule 14.7, and of the MISRA C++ 2008 standard, rule 6-6-5.

Since MISRA does not allow the publishing of its information on a public site, please consult the MISRA standards for further help, including examples.