Gedare Bloom started a new discussion on testsuites/sptests/sptod/init.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/339#note_120799

 > +  rtems_test_assert( new_tod.minute == the_tod->minute );
 > +  rtems_test_assert( new_tod.second == the_tod->second);
 > +  rtems_test_assert( new_tod.ticks == the_tod->ticks ); 
 > +}
 > +
 > +/*
 > + *  main entry point to the test
 > + */
 > +
 > +rtems_task Init(
 > +  rtems_task_argument argument
 > +)
 > +{
 > +  TEST_BEGIN();
 > +  
 > +  for ( int i = 0;  i < NUMBER_OF_DATES; i++ ) {

Prefer to declare `int i` earlier, at the start of the block scope it is 
visible within.

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


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to