From: Ian Jackson Date: Sun, 8 Dec 2019 10:19:02 +0000 (+0000) Subject: log: Remove a now-redundant conditional X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=25ef193c505c124e6efd8d541fa25d2ee5e9a2bb;p=secnet.git log: Remove a now-redundant conditional system_log is always non-NULL now. Signed-off-by: Ian Jackson --- diff --git a/log.c b/log.c index 84f5a86..f3b5cbd 100644 --- a/log.c +++ b/log.c @@ -49,12 +49,7 @@ FORMAT(printf,2,0) static void vMessage(uint32_t class, const char *message, va_list args) { - if (system_log) { - /* Messages go to the system log interface */ - vslilog_part(system_log, class, message, args); - } else { - vMessageFallback(class,message,args); - } + vslilog_part(system_log, class, message, args); } void Message(uint32_t class, const char *message, ...)