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

!1089 【OpenHarmony开源贡献者计划2022】fix warning: unused parameter 'ft' 

Merge pull request !1089 from 快乐天唐/master
......@@ -103,11 +103,13 @@ static void ParamFileSync(int ft)
#ifdef PARAM_SUPPORT_POSIX
fsync(ft);
#else
(void)ft;
#endif
}
static int LoadOnePersistParam_(const uint32_t *context, const char *name, const char *value)
{
(void)context;
uint32_t dataIndex = 0;
int ret = WriteParam(name, value, &dataIndex, 0);
PARAM_CHECK(ret == 0, return ret, "Failed to write param %d name:%s %s", ret, name, value);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册