Rule 15.5 and return statements as children of labels

Moderators: misra-c, david ward

rgamble
Posts: 14
Joined: Fri Jul 20, 2007 7:54 pm

Rule 15.5 and return statements as children of labels

Postby rgamble » Fri Mar 29, 2019 1:33 pm


misra-c
Posts: 547
Joined: Thu Jan 05, 2006 1:11 pm

Re: Rule 15.5 and return statements as children of labels

Postby misra-c » Thu Jun 13, 2019 4:17 pm

Both your examples are violations of rule 15.5.

The MISRA C Working Group will review the use of labeled return statements.
---
Posted by and on behalf of
the MISRA C Working Group


Return to “8.15 Control flow”

Who is online

Users browsing this forum: No registered users and 0 guests