projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aad633
)
Add missing switch case.
author
Ben Pfaff
<blp@nicira.com>
Thu, 8 Jan 2009 23:20:32 +0000
(15:20 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 8 Jan 2009 23:27:52 +0000
(15:27 -0800)
Found with -Wswitch-enum.
lib/vconn-netlink.c
patch
|
blob
|
history
diff --git
a/lib/vconn-netlink.c
b/lib/vconn-netlink.c
index 72d12e45e4c50817635ec8bb9e54bf249df68ccb..ef0fac355fdb50fb6026ac658407fbba545637c0 100644
(file)
--- 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;