提交 775fdc14 编写于 作者: 王liangliang's avatar 王liangliang

枚举值都是大于0的,也必然大于INIT_DEBUG

Signed-off-by: 王liangliang's avatari-wangliangliang <willfox@126.com>
Change-Id: Ief265b004e10b327663f52196bd38f95db9dd014
上级 d3c5f0e4
......@@ -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.
先完成此消息的编辑!
想要评论请 注册