Joel Sherrill started a new discussion on 
cpukit/libmisc/stringto/stringto_template.h: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/929#note_141807

 >  #endif
 >    char *end;
 >  
 > -  if ( NULL == n )
 > +  if ( NULL == s || NULL == n )

Split this into 2 separate if's. They are easier to test that way and 
completely avoid the possibility of needing MCDC analysis.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/929#note_141807
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to