acassis commented on code in PR #18914:
URL: https://github.com/apache/nuttx/pull/18914#discussion_r3273596458
##########
fs/vfs/fs_chstat.c:
##########
@@ -443,6 +444,31 @@ int inode_chstat(FAR struct inode *inode,
}
#endif
+#ifdef CONFIG_SCHED_USER_IDENTITY
+ FAR struct tcb_s *rtcb;
+ uid_t euid;
Review Comment:
@Abhishekmishra2808 NuttX enforces C89 in the common code and declaring a
variable in the middle of a function is a violation. Please declare these
variable at the beginning of the function.
--
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]