Brijesh-Thakkar commented on code in PR #21487:
URL: https://github.com/apache/nuttx/pull/21487#discussion_r4480120957
##########
sched/mqueue/mq_send.c:
##########
@@ -70,23 +70,33 @@
*
****************************************************************************/
-#ifdef CONFIG_DEBUG_FEATURES
static int nxmq_verify_send(FAR FAR struct file *mq, FAR const char *msg,
size_t msglen, unsigned int prio)
{
FAR struct inode *inode = mq->f_inode;
FAR struct mqueue_inode_s *msgq;
+#ifdef CONFIG_DEBUG_FEATURES
if (inode == NULL)
{
return -EBADF;
}
+#endif
msgq = inode->i_private;
Review Comment:
okk Thanks for the review
I have done the required changes
https://github.com/apache/nuttx/commit/f1f59cb5495acdf40c0a9350951612acef80977b
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]