Skip to content

Commit 8fc78c3

Browse files
authored
Merge pull request #143 from yonghuhaige/master
remove duplicated function, fix compiling
2 parents d8c1025 + 30d468b commit 8fc78c3

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/zlog.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -620,14 +620,6 @@ int zlog_level_switch(zlog_category_t * category, int level)
620620
return 0;
621621
}
622622

623-
/*******************************************************************************/
624-
int zlog_level_enabled(zlog_category_t * category, int level)
625-
{
626-
if (category && zlog_category_needless_level(category, level)) return -1;
627-
628-
return 0;
629-
}
630-
631623
/*******************************************************************************/
632624
void vzlog(zlog_category_t * category,
633625
const char *file, size_t filelen,

0 commit comments

Comments
 (0)