diff options
author | deischen <deischen@FreeBSD.org> | 2002-01-09 17:36:53 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2002-01-09 17:36:53 +0000 |
commit | 0e9e967bc32416b9942f75493a02cf5beda68d20 (patch) | |
tree | af9cf13dc42436ad1a26070504ded9adb6236d0a /usr.sbin | |
parent | 5cd9e383f87d706ea9c570ebd60aa8ef1fd06ad5 (diff) | |
download | FreeBSD-src-0e9e967bc32416b9942f75493a02cf5beda68d20.zip FreeBSD-src-0e9e967bc32416b9942f75493a02cf5beda68d20.tar.gz |
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.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/syslogd/syslogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c index 9a534e3..bc651fc 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; |