From f9283c4e701392ce649dc8d434f323f3b06a1ceb Mon Sep 17 00:00:00 2001 From: dongjiuzhu1 Date: Mon, 30 Sep 2024 17:03:16 +0800 Subject: [PATCH] fs/vfs: fix compile break when enable PSEUDOFS_FILE Signed-off-by: dongjiuzhu1 --- fs/vfs/fs_pseudofile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/vfs/fs_pseudofile.c b/fs/vfs/fs_pseudofile.c index c600fab724b57..13f349fe54fa4 100644 --- a/fs/vfs/fs_pseudofile.c +++ b/fs/vfs/fs_pseudofile.c @@ -348,6 +348,7 @@ static int pseudofile_munmap(FAR struct task_group_s *group, size_t length) { FAR struct inode *inode = (FAR struct inode *)map->priv.p; + int ret = OK; /* If the file has been unlinked previously, delete the contents. * The inode is released after this call, hence checking if i_crefs <= 1.