xiaoxiang781216 commented on code in PR #8075:
URL: https://github.com/apache/nuttx/pull/8075#discussion_r1066522469


##########
fs/mmap/fs_anonmap.c:
##########
@@ -39,32 +39,69 @@ static int unmap_anonymous(FAR struct task_group_s *group,
                            FAR void *start,
                            size_t length)
 {
-  int ret;
+  FAR void *newaddr;

Review Comment:
   But not all toolchain support `__attribute__((unused))`, so it's better to 
use UNUSED to suppress the warning on all targets.



-- 
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

Reply via email to