mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-30 22:01:06 +00:00
fix warning: unused function 'StringTrim'
Signed-off-by: shangshu <shangshu@leyinke.cn>
This commit is contained in:
parent
1964348a0b
commit
44e5688306
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user