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

Project:Branches: joel/rtems:acpica-namespace-warning to rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill


## Summary

acpica/namespace/nsaccess.c: Address set but unused warnings

GCC 16 flagged this while GCC 15 did not. Because the variable was
used only when ACPI_DEBUG_PRINT() was defined to print, there was
no way to conditionalize the presence of the variable.
Added the "(void) NumCarats" hint to avoid the warning.


## Generative AI

None

<!-- 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/1198
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

Reply via email to