mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
Eliminate some warnings.
This commit is contained in:
@@ -681,6 +681,8 @@ int ipl2_main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
UNUSED(ret); /* Not used in all configurations */
|
||||||
|
|
||||||
_info("start: %s\n", CONFIG_CURRENT_REVISION);
|
_info("start: %s\n", CONFIG_CURRENT_REVISION);
|
||||||
_info("imgsig: %u\n", IMG_SIGNATURE);
|
_info("imgsig: %u\n", IMG_SIGNATURE);
|
||||||
|
|
||||||
|
|||||||
@@ -353,6 +353,9 @@ static inline void nxf_fillglyph(FAR struct nxfonts_fcache_s *priv,
|
|||||||
int row;
|
int row;
|
||||||
int col;
|
int col;
|
||||||
|
|
||||||
|
UNUSED(row); /* Not used in all configurations */
|
||||||
|
UNUSED(col);
|
||||||
|
|
||||||
/* Initialize the glyph memory to the background color. */
|
/* Initialize the glyph memory to the background color. */
|
||||||
|
|
||||||
#if !defined(CONFIG_NXFONTS_DISABLE_1BPP) || !defined(CONFIG_NXFONTS_DISABLE_2BPP) || \
|
#if !defined(CONFIG_NXFONTS_DISABLE_1BPP) || !defined(CONFIG_NXFONTS_DISABLE_2BPP) || \
|
||||||
|
|||||||
Reference in New Issue
Block a user