From 8da986febb5bf9b3f7b63de779e13f91d32d3748 Mon Sep 17 00:00:00 2001 From: Daniel Eischen Date: Wed, 9 Jan 2002 17:36:53 +0000 Subject: [PATCH] Initialze a stack variable with NULL to unbreak buildworld with -Wall. I don't know about anyone else, but the compiler was always aborting on this stupid warning, and has been doing so for weeks. --- usr.sbin/syslogd/syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c index 9a534e36b45..bc651fccdd2 100644 --- a/usr.sbin/syslogd/syslogd.c +++ b/usr.sbin/syslogd/syslogd.c @@ -921,7 +921,7 @@ fprintlog(f, flags, msg) struct iovec *v; struct addrinfo *r; int i, l, lsent = 0; - char line[MAXLINE + 1], repbuf[80], greetings[200], *wmsg; + char line[MAXLINE + 1], repbuf[80], greetings[200], *wmsg = NULL; const char *msgret; v = iov;