jlaitine commented on code in PR #16939:
URL: https://github.com/apache/nuttx/pull/16939#discussion_r2310490091


##########
sched/signal/sig_dispatch.c:
##########
@@ -760,7 +760,7 @@ int nxsig_dispatch(pid_t pid, FAR siginfo_t *info, bool 
thread)
            * with the current thread.
            */
 
-          if (stcb != NULL && group == this_task()->group)
+          if (stcb != NULL && group == stcb->group)

Review Comment:
   This whole check group == stcb->group is just silly. If stcb != NULL, it is 
always true....



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to