mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-22 16:44:32 +01:00
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
a9f5209e39
commit
8da986febb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89162
@ -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