Commit af61c481 by Stéphane Graber

coverity: Drop dead code

parent 4ad9f44b
......@@ -301,14 +301,8 @@ extern int lxc_log_init(const char *name, const char *file,
return 0;
}
if (priority) {
if (lxc_priority == LXC_LOG_PRIORITY_NOTSET) {
ERROR("invalid log priority %s", priority);
return -1;
}
if (priority)
lxc_priority = lxc_log_priority_to_int(priority);
}
lxc_log_category_lxc.priority = lxc_priority;
lxc_log_category_lxc.appender = &log_appender_logfile;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment