浏览代码

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>
Linus Torvalds 19 年之前
父节点
当前提交
dd1c1853e2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      net/ipv4/igmp.c

+ 1 - 0
net/ipv4/igmp.c

@@ -970,6 +970,7 @@ int igmp_rcv(struct sk_buff *skb)
 	case IGMP_MTRACE_RESP:
 		break;
 	default:
+		break;
 	}
 
 drop: