pkarashchenko commented on code in PR #8486: URL: https://github.com/apache/nuttx/pull/8486#discussion_r1105696648
########## sched/task/task_exithook.c: ########## @@ -80,7 +80,7 @@ static inline void nxtask_exitstatus(FAR struct task_group_s *group, } #else -# define nxtask_exitstatus(group,status) +# define nxtask_exitstatus(group,status) (group)->tg_exitcode = (status); Review Comment: Yes. `do {} while (0)` is even better -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org