arch/sim/src/sim/up_exit.c: Appease a clang-check warning
clang-check complained like the following. While this is not a real bug, it's easy to appease. sim/up_exit.c:68:21: warning: Value stored to 'tcb' during its initialization is never read FAR struct tcb_s *tcb = this_task(); ^~~ ~~~~~~~~~~~ 1 warning generated.
This commit is contained in:
parent
123a31e3a2
commit
0b90ad3dd4
@ -65,9 +65,9 @@
|
|||||||
|
|
||||||
void up_exit(int status)
|
void up_exit(int status)
|
||||||
{
|
{
|
||||||
FAR struct tcb_s *tcb = this_task();
|
FAR struct tcb_s *tcb;
|
||||||
|
|
||||||
sinfo("TCB=%p exiting\n", tcb);
|
sinfo("TCB=%p exiting\n", this_task());
|
||||||
|
|
||||||
/* Destroy the task at the head of the ready to run list. */
|
/* Destroy the task at the head of the ready to run list. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user