aboutsummaryrefslogtreecommitdiffstats
path: root/src/logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logging.c')
-rw-r--r--src/logging.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/logging.c b/src/logging.c
index 995fcd79..214ad2ab 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -135,9 +135,6 @@ int log_parse_level(const char *lvl)
/*! \brief convert a numeric log level into human-readable string */
const char *log_level_str(unsigned int lvl)
{
- /* backwards compatibility */
- if (lvl == 0)
- return loglevel_strs[0].str;
return get_value_string(loglevel_strs, lvl);
}