提交 fbc07a79 编写于 作者: Y yichengzhao

fix warn

Signed-off-by: Nyichengzhao <yichengzhao1@huawei.com>
Change-Id: Ic92f7f55ad49b6a1a3330931d440930484af1c95
上级 2bf18e0c
......@@ -467,7 +467,7 @@ int CheckTrigger(TriggerWorkSpace *workSpace, int type,
PARAM_LOGV("CheckTrigger_ type: %d content: %s ", type, content);
TriggerHeader *triggerHead = GetTriggerHeader(workSpace, type);
if (triggerHead != NULL) {
LogicCalculator calculator = {0};
LogicCalculator calculator = {{0}};
calculator.triggerCheckDone = triggerCheckDone;
int ret = triggerHead->checkTriggerMatch(workSpace, type, &calculator, content, contentSize);
CalculatorFree(&calculator);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册