??? 03/02/11 18:21 Read: times |
#181400 - Looks like bug Responding to: ???'s previous message |
MISRA should love variables that get an initial value directly when allocated even if they get a new value later when used.
This looks like a bug unless there is a copy/paste error somewhere so the code has a comment or similar changing the real behaviour of the code in a way that isn't easy to spot. |
Topic | Author | Date |
Why is the code below cited for violation of MISRA 13.6 | 01/01/70 00:00 | |
Double initialisation? | 01/01/70 00:00 | |
Looks like bug | 01/01/70 00:00 | |
Sorry, forgot to mention | 01/01/70 00:00 | |
Now posted on MISRA forum: | 01/01/70 00:00 | |
Thank you | 01/01/70 00:00 |