11-10-2023, 06:27 PM
I was looking at this example and it seems to me that the code
might be considered as dead code, which is a violation to a required rule (R 2.2).
Is this just a dummy example for this specific rule or this code can be considered as fully compliant to MISRA?
Code:
*p = *q;
might be considered as dead code, which is a violation to a required rule (R 2.2).
Is this just a dummy example for this specific rule or this code can be considered as fully compliant to MISRA?