diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-09-12 12:25:03 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-09-12 12:25:03 -0600 |
commit | e94a1494a83c9d87a6604819a5b555e0eaf3e50b (patch) | |
tree | bea205c0e339986d7d1df580f5e5098cfcddd9fd | |
parent | 3d9119730bf374ffa1409d0d491d4cdd55deca1a (diff) | |
download | nuttx-e94a1494a83c9d87a6604819a5b555e0eaf3e50b.tar.gz nuttx-e94a1494a83c9d87a6604819a5b555e0eaf3e50b.tar.bz2 nuttx-e94a1494a83c9d87a6604819a5b555e0eaf3e50b.zip |
Remove NXFFS compile warning
-rw-r--r-- | nuttx/fs/nxffs/nxffs_dump.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/fs/nxffs/nxffs_dump.c b/nuttx/fs/nxffs/nxffs_dump.c index 9caac4c4b..3201a68f9 100644 --- a/nuttx/fs/nxffs/nxffs_dump.c +++ b/nuttx/fs/nxffs/nxffs_dump.c @@ -104,7 +104,7 @@ static inline ssize_t nxffs_analyzeinode(FAR struct nxffs_blkinfo_s *blkinfo, uint8_t state; uint32_t noffs; uint32_t doffs; - uint32_t utc; +//uint32_t utc; uint32_t ecrc; uint32_t datlen; uint32_t crc; @@ -124,7 +124,7 @@ static inline ssize_t nxffs_analyzeinode(FAR struct nxffs_blkinfo_s *blkinfo, memcpy(&inode, &blkinfo->buffer[offset], SIZEOF_NXFFS_INODE_HDR); noffs = nxffs_rdle32(inode.noffs); doffs = nxffs_rdle32(inode.doffs); - utc = nxffs_rdle32(inode.utc); +//utc = nxffs_rdle32(inode.utc); ecrc = nxffs_rdle32(inode.crc); datlen = nxffs_rdle32(inode.datlen); @@ -175,6 +175,7 @@ static inline ssize_t nxffs_analyzeinode(FAR struct nxffs_blkinfo_s *blkinfo, { fdbg(g_format, blkinfo->block, offset, "INODE", "UNVERFD", datlen); } + return ERROR; } |