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:
parent
e72c7e2738
commit
7ecdfc8237
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user