NSHLIB uname command: Eliminate 'defined but not used' warning in some configurations

This commit is contained in:
Alan Carvalho de Assis 2017-03-07 15:36:18 -06:00 committed by Gregory Nutt
parent d506939b59
commit 8e7ed15cce

View File

@ -86,7 +86,9 @@
* Private Data
****************************************************************************/
#ifndef CONFIG_NSH_DISABLE_UNAME
static const char g_unknown[] = "unknown";
#endif
/****************************************************************************
* Public Functions