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.
This commit is contained in:
parent
4d543c3fd9
commit
7365c1ec3f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user