This is an automated email from the ASF dual-hosted git repository.

archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 9f36509c0b1482438df0d658a79e75fd7022e916
Author: ouyangxiangzhen <[email protected]>
AuthorDate: Fri Jul 12 09:45:07 2024 +0800

    signal: Add siginfo initializer
    
    This patch is to make Coverity happy.
    
    Signed-off-by: ouyangxiangzhen <[email protected]>
---
 sched/signal/sig_notification.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sched/signal/sig_notification.c b/sched/signal/sig_notification.c
index a213c48563..bfe456e8d1 100644
--- a/sched/signal/sig_notification.c
+++ b/sched/signal/sig_notification.c
@@ -124,6 +124,7 @@ int nxsig_notification(pid_t pid, FAR struct sigevent 
*event,
       info.si_pid    = rtcb->pid;
       info.si_status = OK;
 #endif
+      info.si_user   = NULL;
 
       /* Some compilers (e.g., SDCC), do not permit assignment of aggregates.
        * Use of memcpy() is overkill;  We could just copy the larger of the

Reply via email to