Skip to content

Commit

Permalink
Fix ipv4/igmp.c compile with gcc-4 and IP_MULTICAST
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Torvalds committed Jan 31, 2006
1 parent d195ea4 commit dd1c185
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/ipv4/igmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,7 @@ int igmp_rcv(struct sk_buff *skb)
case IGMP_MTRACE_RESP:
break;
default:
break;
}

drop:
Expand Down

0 comments on commit dd1c185

Please sign in to comment.