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

!1625 无符号枚举类型冗余判断bug修复

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