MISRA Error : comma operator used and Highest operation, operator ',', lacks side-effects
5 views (last 30 days)
Show older comments
Hello,
I am getting following MISRA error.
Error :
Note 9008: comma operator used [MISRA 2012 Rule 12.3, advisory]
Warning 522: Highest operation, operator ',', lacks side-effects [MISRA 2012 Rule 2.2, required]
Autosar Code:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/276053/image.png)
In model, this is the Sender receiver port.
0 Comments
Answers (0)
See Also
Categories
Find more on AUTOSAR Blockset in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!