10-07-2025, 11:51 AM
Function returns and setting of function parameters are both assignments, as explained in the MISRA C glossary. Therefore, both of your code snippets are non-compliant with Rule 11.9
Your observation about no non-compliant example is noted.
Your observation about no non-compliant example is noted.
Posted by and on behalf of the MISRA C Working Group