From: Ben Pfaff Date: Thu, 8 Jan 2009 23:20:32 +0000 (-0800) Subject: Add missing switch case. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=047e6adfee9c77eccd1cbe88329ae886e2066657;p=openvswitch Add missing switch case. Found with -Wswitch-enum. --- diff --git a/lib/vconn-netlink.c b/lib/vconn-netlink.c index 72d12e45..ef0fac35 100644 --- a/lib/vconn-netlink.c +++ b/lib/vconn-netlink.c @@ -129,6 +129,9 @@ netlink_wait(struct vconn *vconn, enum vconn_wait_type wait) struct netlink_vconn *netlink = netlink_vconn_cast(vconn); short int events = 0; switch (wait) { + case WAIT_CONNECT: + NOT_REACHED(); + case WAIT_RECV: events = POLLIN; break;