mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
Fix an error and more warnings found in build testing.
This commit is contained in:
@@ -229,7 +229,6 @@ static void ajoy_enable(FAR struct ajoy_upperhalf_s *priv)
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/* OR in the signal events */
|
||||
|
||||
|
||||
@@ -76,8 +76,10 @@ struct nxffs_blkinfo_s
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(CONFIG_DEBUG_FEATURES) && defined(CONFIG_DEBUG_FS)
|
||||
static const char g_hdrformat[] = " BLOCK:OFFS TYPE STATE LENGTH\n";
|
||||
static const char g_format[] = " %5d:%-5d %s %s %5d\n";
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
@@ -351,7 +353,7 @@ static inline void nxffs_analyze(FAR struct nxffs_blkinfo_s *blkinfo)
|
||||
blkinfo->geo.blocksize);
|
||||
}
|
||||
|
||||
/* Serach for Inode and data block headers. */
|
||||
/* Search for Inode and data block headers. */
|
||||
|
||||
inndx = 0;
|
||||
datndx = 0;
|
||||
|
||||
Reference in New Issue
Block a user