mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
Fix DEBUGASSERT() in group_signal.c
This commit is contained in:
committed by
Gregory Nutt
parent
84900298b7
commit
13c9031a8d
@@ -93,12 +93,11 @@ static int group_signal_handler(pid_t pid, FAR void *arg)
|
|||||||
FAR sigactq_t *sigact;
|
FAR sigactq_t *sigact;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
DEBUGASSERT(tcb != NULL && tcb->group != NULL && info != NULL);
|
|
||||||
|
|
||||||
/* Get the TCB associated with the group member */
|
/* Get the TCB associated with the group member */
|
||||||
|
|
||||||
tcb = sched_gettcb(pid);
|
tcb = sched_gettcb(pid);
|
||||||
DEBUGASSERT(tcb ! = NULL);
|
DEBUGASSERT(tcb != NULL && tcb->group != NULL && info != NULL);
|
||||||
|
|
||||||
if (tcb)
|
if (tcb)
|
||||||
{
|
{
|
||||||
/* Set this one as the default if we have not already set the default. */
|
/* Set this one as the default if we have not already set the default. */
|
||||||
|
|||||||
Reference in New Issue
Block a user