未验证 提交 ab9d9019 编写于 作者: O openharmony_ci 提交者: Gitee

!960 【OpenHarmony开源贡献者计划2022】fix warning: unused function 'StringTrim'

Merge pull request !960 from rtos_shu/master
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册