usr.sbin/bhyve: send an initialized value to wake up blocking kqueue
This is a no-op initialization because nothing reads this value. "This wasn't wrong previously, but this is more correct now." -imp Coverity CID: 1194307 Approved by: markj, imp, scottl Differential Revision: https://reviews.freebsd.org/D20921
This commit is contained in:
parent
3ae2a848ae
commit
fe1329e446
@ -119,7 +119,7 @@ mevent_pipe_read(int fd, enum ev_type type, void *param)
|
||||
static void
|
||||
mevent_notify(void)
|
||||
{
|
||||
char c;
|
||||
char c = '\0';
|
||||
|
||||
/*
|
||||
* If calling from outside the i/o thread, write a byte on the
|
||||
|
Loading…
Reference in New Issue
Block a user