Eliminate a warning detected by nuttx/tools/testbuild.sh

This commit is contained in:
Gregory Nutt 2015-07-22 14:09:29 -06:00
parent 7f0c1fc33f
commit 62853218d3

View File

@ -236,7 +236,7 @@ static inline int ls_specialdir(const char *dir)
* Name: ls_handler * Name: ls_handler
****************************************************************************/ ****************************************************************************/
#if CONFIG_NFILE_DESCRIPTORS > 0 #if CONFIG_NFILE_DESCRIPTORS > 0 && !defined(CONFIG_NSH_DISABLE_LS)
static int ls_handler(FAR struct nsh_vtbl_s *vtbl, FAR const char *dirpath, static int ls_handler(FAR struct nsh_vtbl_s *vtbl, FAR const char *dirpath,
FAR struct dirent *entryp, FAR void *pvarg) FAR struct dirent *entryp, FAR void *pvarg)
{ {