diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-31 16:11:41 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-31 16:11:41 -0500 |
commit | dd1c1853e2742f4938b271dbe0cee735e2ffa3d9 (patch) | |
tree | dca773c1f509e06330559e55113a0e7cae5ddb68 | |
parent | d195ea4b1456192abe780fd773778cbe9f6d77ea (diff) |
Fix ipv4/igmp.c compile with gcc-4 and IP_MULTICAST
Modern versions of gcc do not like case statements at the end of a block
statement: you need at least an empty statement. Using just a "break;"
is preferred for visual style.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | net/ipv4/igmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c index f70ba622c856..0b4e95f93dad 100644 --- a/net/ipv4/igmp.c +++ b/net/ipv4/igmp.c | |||
@@ -970,6 +970,7 @@ int igmp_rcv(struct sk_buff *skb) | |||
970 | case IGMP_MTRACE_RESP: | 970 | case IGMP_MTRACE_RESP: |
971 | break; | 971 | break; |
972 | default: | 972 | default: |
973 | break; | ||
973 | } | 974 | } |
974 | 975 | ||
975 | drop: | 976 | drop: |