fix warning: unused function 'StringTrim'

Signed-off-by: shangshu <shangshu@leyinke.cn>
This commit is contained in:
shangshu 2022-07-21 17:24:36 +08:00
parent 1964348a0b
commit 44e5688306

View File

@ -27,6 +27,7 @@
#include "parameter.h"
#endif
#ifdef PARAM_LOAD_CFG_FROM_CODE
static const char *StringTrim(char *buffer, int size, const char *name)
{
char *tmp = (char *)name;
@ -55,6 +56,7 @@ static const char *StringTrim(char *buffer, int size, const char *name)
}
return name;
}
#endif
void InitParamService(void)
{