You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ya...@apache.org on 2024/10/23 09:24:57 UTC
(nuttx) 02/07: Revert "littlefs: fix warnings"
This is an automated email from the ASF dual-hosted git repository.
yamamoto pushed a commit to branch revert-13964-pick-lfs
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 8f9efd50b4bf424a7d7e101d399d7d93bc77f0dc
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Wed Oct 23 18:24:45 2024 +0900
Revert "littlefs: fix warnings"
This reverts commit da5839c6f2b3ce0c05dd92fb3050fc7906343a10.
---
fs/littlefs/lfs_vfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/littlefs/lfs_vfs.c b/fs/littlefs/lfs_vfs.c
index 942fa5ff89..5db1ae89d3 100644
--- a/fs/littlefs/lfs_vfs.c
+++ b/fs/littlefs/lfs_vfs.c
@@ -727,6 +727,7 @@ static int littlefs_fstat(FAR const struct file *filep, FAR struct stat *buf)
FAR struct littlefs_file_s *priv;
FAR struct inode *inode;
struct littlefs_attr_s attr;
+ char path[LFS_NAME_MAX];
int ret;
memset(buf, 0, sizeof(*buf));
@@ -791,6 +792,7 @@ static int littlefs_fchstat(FAR const struct file *filep,
FAR struct littlefs_file_s *priv;
FAR struct inode *inode;
struct littlefs_attr_s attr;
+ char path[LFS_NAME_MAX];
int ret;
/* Recover our private data from the struct file instance */