bhyve: Add an empty case for event types in mevent_kq_fflags().

This fixes a -Wswitch error raised by GCC 9.

Differential Revision:	https://reviews.freebsd.org/D31938
This commit is contained in:
John Baldwin 2021-09-25 11:25:25 -07:00
parent e72c7e2738
commit 7ecdfc8237

View File

@ -190,6 +190,11 @@ mevent_kq_fflags(struct mevent *mevp)
if ((mevp->me_fflags & EVFF_ATTRIB) != 0)
retval |= NOTE_ATTRIB;
break;
case EVF_READ:
case EVF_WRITE:
case EVF_TIMER:
case EVF_SIGNAL:
break;
}
return (retval);