From: Linus Torvalds Date: Tue, 31 Jan 2006 21:11:41 +0000 (-0800) Subject: Fix ipv4/igmp.c compile with gcc-4 and IP_MULTICAST X-Git-Tag: v2.6.16-rc2~243 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd1c1853e2742f4938b271dbe0cee735e2ffa3d9;p=linux-2.6 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 --- diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c index f70ba622c8..0b4e95f93d 100644 --- a/net/ipv4/igmp.c +++ b/net/ipv4/igmp.c @@ -970,6 +970,7 @@ int igmp_rcv(struct sk_buff *skb) case IGMP_MTRACE_RESP: break; default: + break; } drop: