nuttx/sched/task
Juha Niskanen ea1144630d sched/task/task_spawn.c: initialize variables explicitly
'pid' cannot really be used uninitialized, but Clang analyzer does not
see it.  Add initializer to silence it and also make debugging slightly
easier.

Explicitly set pid's address to NULL to fix this complaint:

  "Address of stack memory associated with local variable 'pid' is still
   referred to by the global variable 'g_spawn_parms' upon returning to
   the caller."

No functional change.

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2021-06-22 03:44:02 -05:00
..
exit.c libc: Move pthread_cleanup to user space 2021-05-21 22:46:52 -06:00
Make.defs sched: Don't forward gettid to getpid directly 2021-03-04 17:17:41 -06:00
spawn.h Fix typos reported by codespell 2021-02-25 11:31:49 -08:00
task_activate.c sched: Change the return type of nxtask_activate to void 2020-06-04 22:20:45 +01:00
task_atexit.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_cancelpt.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
task_create.c Revert "sched/posix_spawn: Don't insert name at the begin of argv" 2021-06-15 07:32:33 -06:00
task_delete.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
task_execv.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
task_exit.c Fix typos reported by codespell 2021-02-25 11:31:49 -08:00
task_exithook.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
task_getgroup.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_getpid.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_getppid.c sched: Remove all group id related stuff 2021-03-05 20:35:22 +08:00
task_gettid.c sched: Don't forward gettid to getpid directly 2021-03-04 17:17:41 -06:00
task_init.c Revert "sched/posix_spawn: Don't insert name at the begin of argv" 2021-06-15 07:32:33 -06:00
task_onexit.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_posixspawn.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
task_prctl.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_recover.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_reparent.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
task_restart.c sched/group: Change group_kill_children's argument from task_tcb_s to tcb_s 2020-06-15 07:09:51 -06:00
task_setcancelstate.c pthread: Avoid recursive pthread_exit call 2021-05-21 22:46:52 -06:00
task_setcanceltype.c pthread: Avoid recursive pthread_exit call 2021-05-21 22:46:52 -06:00
task_setup.c sched/posix_spawn: Don't insert name at the begin of argv 2021-06-15 07:32:33 -06:00
task_spawn.c sched/task/task_spawn.c: initialize variables explicitly 2021-06-22 03:44:02 -05:00
task_spawnparms.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
task_start.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
task_starthook.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
task_terminate.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_testcancel.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
task_vfork.c sched/posix_spawn: Don't insert name at the begin of argv 2021-06-15 07:32:33 -06:00
task.h sched/posix_spawn: Don't insert name at the begin of argv 2021-06-15 07:32:33 -06:00