summaryrefslogtreecommitdiff
path: root/nuttx/fs/nxffs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/fs/nxffs')
-rw-r--r--nuttx/fs/nxffs/nxffs_dump.c2
-rw-r--r--nuttx/fs/nxffs/nxffs_initialize.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/fs/nxffs/nxffs_dump.c b/nuttx/fs/nxffs/nxffs_dump.c
index 181aaaebe..19e4d4b5c 100644
--- a/nuttx/fs/nxffs/nxffs_dump.c
+++ b/nuttx/fs/nxffs/nxffs_dump.c
@@ -67,7 +67,9 @@ struct nxffs_blkinfo_s
off_t nblocks;
off_t block;
off_t offset;
+#if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_FS)
bool verbose;
+#endif
};
/****************************************************************************
diff --git a/nuttx/fs/nxffs/nxffs_initialize.c b/nuttx/fs/nxffs/nxffs_initialize.c
index 3fb9e2b77..d7d55f077 100644
--- a/nuttx/fs/nxffs/nxffs_initialize.c
+++ b/nuttx/fs/nxffs/nxffs_initialize.c
@@ -410,7 +410,7 @@ int nxffs_limits(FAR struct nxffs_volume_s *volume)
if (!noinodes)
{
- while ((ret = nxffs_nextentry(volume, offset, &entry)) == OK)
+ while (nxffs_nextentry(volume, offset, &entry) == OK)
{
/* Discard the entry and guess the next offset. */