diff --git a/src/log.c b/src/log.c index 97ed1cf..12938e9 100644 --- a/src/log.c +++ b/src/log.c @@ -36,7 +36,13 @@ static struct { int level; bool quiet; Callback callbacks[MAX_CALLBACKS]; -} L; +} L = { + NULL, + NULL, + RXI_LOGC_DEFAULT_LEVEL, + false, + {0}, +}; static const char *level_strings[] = {