Commit 7ecdfc82 authored by John Baldwin's avatar John Baldwin
Browse files

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
parent e72c7e27
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment