mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue