Date: Thu, 11 Jul 2019 23:54:50 +0000 (UTC) From: Sean Chittenden <seanc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r349925 - head/usr.sbin/bhyve Message-ID: <201907112354.x6BNsoNP051470@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: seanc (ports committer) Date: Thu Jul 11 23:54:50 2019 New Revision: 349925 URL: https://svnweb.freebsd.org/changeset/base/349925 Log: 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 Modified: head/usr.sbin/bhyve/mevent.c Modified: head/usr.sbin/bhyve/mevent.c ============================================================================== --- head/usr.sbin/bhyve/mevent.c Thu Jul 11 22:06:59 2019 (r349924) +++ head/usr.sbin/bhyve/mevent.c Thu Jul 11 23:54:50 2019 (r349925) @@ -119,7 +119,7 @@ mevent_pipe_read(int fd, enum ev_type type, void *para static void mevent_notify(void) { - char c; + char c = '\0'; /* * If calling from outside the i/o thread, write a byte on the
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907112354.x6BNsoNP051470>