NSHLIB uname command: Eliminate 'defined but not used' warning in some configurations
This commit is contained in:
parent
d506939b59
commit
8e7ed15cce
@ -86,7 +86,9 @@
|
|||||||
* Private Data
|
* Private Data
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#ifndef CONFIG_NSH_DISABLE_UNAME
|
||||||
static const char g_unknown[] = "unknown";
|
static const char g_unknown[] = "unknown";
|
||||||
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
|
Loading…
Reference in New Issue
Block a user