Joel Sherrill commented on a discussion on cpukit/include/rtems/score/threadimpl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/749#note_133245 > ) > { > _ISR_lock_Acquire( &the_thread->Wait.Lock.Default, lock_context ); > +#ifndef RTEMS_SMP > + (void) the_thread; > +#endif Sorry. I didn't have -Wextra on for that build. You are right about adding `(void) _lock;` but it still needs the annotation here. I fixed the indentation while I was there. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/749#note_133245 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
