Fix build break when CONFIG_TASK_NAME_SIZE == 0

This commit is contained in:
Nakamura, Yuuichi 2020-11-02 08:49:43 +09:00 committed by Xiang Xiao
parent 1184502661
commit 60bf4a4d8a

View File

@ -406,7 +406,7 @@ void sched_note_start(FAR struct tcb_s *tcb)
length = SIZEOF_NOTE_START(namelen + 1);
#else
length = SIZEOF_NOTE_START(0)
length = SIZEOF_NOTE_START(0);
#endif
/* Finish formatting the note */