util.h: Always return some log-level just in case
Add default message level to msg2syslog_level. Better safe than sorry.
[ 14s] In file included from logc/log.c:32: [ 14s] logc/util.h: In function 'msg2syslog_level': [ 14s] logc/util.h:47:1: error: control reaches end of non-void function [-Werror=return-type] [ 14s] 47 | } [ 14s] | ^ [ 14s] cc1: some warnings being treated as errors
Edited by Michal Hrusecky