mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-18 00:11:20 +08:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user