Eliminate some warnings.

This commit is contained in:
Gregory Nutt 2017-11-18 12:29:34 -06:00
parent b9f9d5344d
commit 40b8cbb8dc
2 changed files with 5 additions and 0 deletions

View File

@ -681,6 +681,8 @@ int ipl2_main(int argc, char *argv[])
{
int ret;
UNUSED(ret); /* Not used in all configurations */
_info("start: %s\n", CONFIG_CURRENT_REVISION);
_info("imgsig: %u\n", IMG_SIGNATURE);

View File

@ -353,6 +353,9 @@ static inline void nxf_fillglyph(FAR struct nxfonts_fcache_s *priv,
int row;
int col;
UNUSED(row); /* Not used in all configurations */
UNUSED(col);
/* Initialize the glyph memory to the background color. */
#if !defined(CONFIG_NXFONTS_DISABLE_1BPP) || !defined(CONFIG_NXFONTS_DISABLE_2BPP) || \