RTEMS | psignalclearsignals.c: Eliminate used before initialized warning (!469)

Joel Sherrill (@joel) gitlab at rtems.org
Tue Apr 22 15:31:20 UTC 2025



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

Project:Branches: joel/rtems:fix-flow-in-psignalclearsignals to rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill



## Summary

psignalclearsignals.c: Eliminate used before initialized warning

There were independent checks at lock/unlock time on whether the
signal clearing logic executed in a critical section. Refactored
so the two checks are now one.

Closes #5239


<!-- 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/469
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/20250422/0b67264e/attachment-0001.htm>


More information about the bugs mailing list