Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
11.9 and function calls and returned pointers
#2
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.
Posted by and on behalf of the MISRA C Working Group
Reply


Messages In This Thread
RE: 11.9 and function calls and returned pointers - by misra-c - 10-07-2025, 11:51 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)