RTEMS | Address unused parameter warnings (!749)
Joel Sherrill (@joel)
gitlab at rtems.org
Thu Sep 25 18:36:14 UTC 2025
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250925/af2c2349/attachment.htm>
More information about the bugs
mailing list