RTEMS | Address unused parameter warnings (!749)

Joel Sherrill (@joel) gitlab at rtems.org
Thu Sep 25 16:06:20 UTC 2025



Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/749

Project:Branches: joel/rtems:fix-unused-parameter-warnings to rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill
Reviewers: Kinsey Moore and Gedare Bloom


## Summary

This MR includes multiple patches to address unused parameter warnings. Most of the patches eliminate these warnings in files which are included multiple places or compiled multiple times with different settings. The largest patch eliminates these warnings in _testsuites/validation_.

Nearly all of the changes are to add "(void) param;" as needed. Sometimes that needs to be on a particular ifdef path. For the acpi code, after discussion with @opticron, we decided to just disable the warning around the nasty debug macros. 

Found with GCC's warning -Wunused-paramter.

<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/749
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/7444ef34/attachment.htm>


More information about the bugs mailing list