Spark: Eliminate some warnings

This commit is contained in:
Gregory Nutt 2015-09-08 07:41:37 -06:00
parent f697cbfd0d
commit 6add91e42d
2 changed files with 4 additions and 2 deletions

View File

@ -127,6 +127,7 @@
* *
****************************************************************************/ ****************************************************************************/
#if !defined(CONFIG_NSH_ARCHINIT) i|| !defined(CONFIG_NSH_BUILTIN_APPS)
static int do_composite_archinitialize(void) static int do_composite_archinitialize(void)
{ {
#ifdef HAVE_SST25 #ifdef HAVE_SST25
@ -176,7 +177,7 @@ static int do_composite_archinitialize(void)
return ret; return ret;
} }
#if CONFIG_SPARK_MOUNT_FLASH #ifdef CONFIG_SPARK_MOUNT_FLASH
char partname[16]; char partname[16];
char mntpoint[16]; char mntpoint[16];
@ -276,6 +277,7 @@ static int do_composite_archinitialize(void)
return OK; return OK;
} }
#endif
/**************************************************************************** /****************************************************************************
* Public Functions * Public Functions

View File

@ -184,7 +184,7 @@ int board_app_initialize(void)
return ret; return ret;
} }
#if CONFIG_SPARK_MOUNT_FLASH #ifdef CONFIG_SPARK_MOUNT_FLASH
char partname[16]; char partname[16];
char mntpoint[16]; char mntpoint[16];