Fix an error and more warnings found in build testing.

This commit is contained in:
Gregory Nutt 2019-05-25 12:13:27 -06:00
parent b21c12bd18
commit 035842b3ed
2 changed files with 3 additions and 2 deletions

View File

@ -229,7 +229,6 @@ static void ajoy_enable(FAR struct ajoy_upperhalf_s *priv)
break;
}
}
#endif
/* OR in the signal events */

View File

@ -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;