Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
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.

List of 6 messages in thread
TopicAuthorDate
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      

Back to Subject List