Skip to content

Commit

Permalink
Merge pull request #143 from yonghuhaige/master
Browse files Browse the repository at this point in the history
remove duplicated function, fix compiling
  • Loading branch information
deemar authored Jun 4, 2019
2 parents d8c1025 + 30d468b commit 8fc78c3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/zlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -620,14 +620,6 @@ int zlog_level_switch(zlog_category_t * category, int level)
return 0;
}

/*******************************************************************************/
int zlog_level_enabled(zlog_category_t * category, int level)
{
if (category && zlog_category_needless_level(category, level)) return -1;

return 0;
}

/*******************************************************************************/
void vzlog(zlog_category_t * category,
const char *file, size_t filelen,
Expand Down

0 comments on commit 8fc78c3

Please sign in to comment.