Central | spec: silence unused variables. (!12)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Sun Oct 12 23:07:40 UTC 2025
Sebastian Huber commented on a discussion on spec/newlib/req/futex-wait.yml: https://gitlab.rtems.org/rtems/prequal/rtems-central/-/merge_requests/12#note_134818
>
> static Status_Control Enqueue( TQContext *tq_ctx, TQWait wait )
> {
> + (void) wait;
Thanks for the explanation. "as soon as possible" could be also after the local variable declarations. I think this decision is inconsistent.
Just for the record, I would place the local variable declarations as close to the first use as possible.
--
View it on GitLab: https://gitlab.rtems.org/rtems/prequal/rtems-central/-/merge_requests/12#note_134818
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/20251012/051e6a24/attachment.htm>
More information about the bugs
mailing list