nshlib/nsh_parse.c: Replacement implementation for 9defae8af6
. This addes conditional compilation on the definition of g_nullstring[] to avoid the warning. Suggested by SUZUKI Y <NBG03015@nifty.ne.jp>
This commit is contained in:
parent
6bfd6166dd
commit
2a462c78aa
@ -222,7 +222,9 @@ static const char g_exitstatus[] = "?";
|
||||
static const char g_success[] = "0";
|
||||
static const char g_failure[] = "1";
|
||||
#endif
|
||||
#if defined(NSH_HAVE_VARS) || defined(CONFIG_NSH_CMDPARMS)
|
||||
static const char g_nullstring[] = "";
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
|
Loading…
Reference in New Issue
Block a user