pkarashchenko commented on code in PR #6402: URL: https://github.com/apache/incubator-nuttx/pull/6402#discussion_r894796778
########## sched/mqueue/mq_send.c: ########## @@ -70,19 +70,17 @@ int file_mq_send(FAR struct file *mq, FAR const char *msg, size_t msglen, unsigned int prio) { - FAR struct mqueue_msg_s *mqmsg = NULL; - FAR struct inode *inode = mq->f_inode; Review Comment: I think temporary variable only matters for low levels of optimisation and most probably would be optimised with `-O2`, `-O3` or `-Os`. I think temp variable is just used to improve readability and debug experience. -- 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