提交 bb93d657 编写于 作者: O openharmony_ci 提交者: Gitee

!82 style: triggerType中 early-init重复定义

Merge pull request !82 from 熊磊/updatersf89
......@@ -194,7 +194,7 @@ static int GetTriggerIndex(const char *type)
return TRIGGER_PARAM;
}
static const char *triggerType[] = {
"pre-init", "boot", "early-init", "init", "early-init", "late-init", "post-init",
"pre-init", "boot", "early-init", "init", "late-init", "post-init",
"early-fs", "post-fs", "late-fs", "post-fs-data"
};
for (size_t i = 0; i < sizeof(triggerType) / sizeof(char*); i++) {
......@@ -418,4 +418,4 @@ TriggerNode *GetTriggerByName(TriggerWorkSpace *workSpace, const char *triggerNa
}
}
return NULL;
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册