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

Gedare Bloom (@gedare) gitlab at rtems.org
Thu May 1 16:27:06 UTC 2025




Gedare Bloom commented on a discussion on cpukit/posix/src/psignalclearsignals.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/469#note_122294

 > +)
 > +{
 > +  bool                 retval;
 > +  Thread_queue_Context  queue_context;
 >  
 >    if ( do_signals_acquire_release ) {
 > +    _Thread_queue_Context_initialize( &queue_context );
 > +    _POSIX_signals_Acquire( &queue_context );
 > +      retval = _POSIX_signals_Clear_signals_helper(
 > +        api,
 > +        signo,
 > +        info,
 > +        is_global,
 > +        check_blocked
 > +      );
 >      _POSIX_signals_Release( &queue_context );

We will not be able to enforce this with automation.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/469#note_122294
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/20250501/df0a66d3/attachment-0001.htm>


More information about the bugs mailing list