This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit 63c691eae2531e18fc2ae816c5fe3f4d3122a172 Author: v-maomingju <[email protected]> AuthorDate: Mon Dec 22 22:30:53 2025 +0800 system/nxinit: fix unused variable warning fix the unused variable warnings for name and status in init.c. Signed-off-by: v-maomingju <[email protected]> --- system/nxinit/init.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system/nxinit/init.c b/system/nxinit/init.c index cc1f18132..6c7291e5e 100644 --- a/system/nxinit/init.c +++ b/system/nxinit/init.c @@ -78,6 +78,11 @@ static void reap_process(FAR struct service_manager_s *sm, int ret; int pid; + /* prevent unused warning */ + + UNUSED(name); + UNUSED(status); + for (; ; ) { pid = waitpid(-1, &wstatus, WNOHANG);
