mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
NSHLIB uname command: Eliminate 'defined but not used' warning in some configurations
This commit is contained in:

committed by
Gregory Nutt

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
|
||||||
|
Reference in New Issue
Block a user