apps/nshlib: Eliminate more new warnings found in build testing.

This commit is contained in:
Gregory Nutt
2018-10-02 11:16:15 -06:00
parent 2bc4d1e8e2
commit cb982ea8df
3 changed files with 6 additions and 6 deletions

View File

@@ -460,7 +460,9 @@ int cmd_set(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
#ifndef CONFIG_NSH_DISABLE_UNSET
int cmd_unset(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
{
#if defined(CONFIG_NSH_VARS) || !defined(CONFIG_DISABLE_ENVIRON)
int status;
#endif
int ret = OK;
#if defined(CONFIG_NSH_VARS)