Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 19.1 Example
#3
I was looking at this example and it seems to me that the code

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?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)