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

!1626 无符号枚举类型冗余判断bug修复同步monthly_20221018分支

Merge pull request !1626 from wish/cherry-pick-1670916145
...@@ -134,7 +134,7 @@ INIT_LOCAL_API void InitLog(int logLevel, unsigned int domain, const char *tag, ...@@ -134,7 +134,7 @@ INIT_LOCAL_API void InitLog(int logLevel, unsigned int domain, const char *tag,
INIT_PUBLIC_API void SetInitLogLevel(InitLogLevel level) INIT_PUBLIC_API void SetInitLogLevel(InitLogLevel level)
{ {
if ((level >= INIT_DEBUG) && (level <= INIT_FATAL)) { if (level <= INIT_FATAL) {
g_logLevel = level; g_logLevel = level;
} }
return; return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册