nuttx/sched
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
..
clock Include assert.h in necessary place 2021-06-08 13:06:08 -07:00
environ Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group Revert "tls: Move pthread key destructor to libc" 2021-06-09 07:59:44 -05:00
init Rename MODULE_TEXT to TEXT_HEAP as the latter is more generic. 2021-06-18 07:14:17 -05:00
irq Include assert.h in necessary place 2021-06-08 13:06:08 -07:00
module Rename MODULE_TEXT to TEXT_HEAP as the latter is more generic. 2021-06-18 07:14:17 -05:00
mqueue Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
paging Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
pthread Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
sched Include assert.h in necessary place 2021-06-08 13:06:08 -07:00
semaphore Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
signal Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
task sched/task/task_spawn.c: initialize variables explicitly 2021-06-22 03:44:02 -05:00
timer Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
wdog sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
wqueue Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
Kconfig Rename MODULE_TEXT to TEXT_HEAP as the latter is more generic. 2021-06-18 07:14:17 -05:00
Makefile style/Makefile: remove unnecessary trailing whitespace 2020-11-28 12:20:30 +01:00