Skip to content

Commit

Permalink
msg: remove some useless 'break'
Browse files Browse the repository at this point in the history
Signed-off-by: Zhao Junwang <[email protected]>
  • Loading branch information
zhjwpku authored and liewegas committed Oct 18, 2016
1 parent 2eea741 commit 0b4813a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/msg/msg_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,8 @@ struct entity_addr_t {
switch (u.sa.sa_family) {
case AF_INET:
return sizeof(u.sin);
break;
case AF_INET6:
return sizeof(u.sin6);
break;
}
return sizeof(u);
}
Expand Down

0 comments on commit 0b4813a

Please sign in to comment.