From 7db4bedadf8a22683ed2505328539cbb896f102b Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sun, 23 Feb 2014 18:59:16 +0100 Subject: [PATCH] Fix packet-devicenet.c:619:17: error: will never be executed [-Werror,-Wunreachable-code] Change-Id: I3e7cc60e1844dcb1eab87060f6338bd4ba08e9b3 Reviewed-on: https://code.wireshark.org/review/322 Reviewed-by: Evan Huus Reviewed-by: Jeff Morriss --- epan/dissectors/packet-devicenet.c | 1 - 1 file changed, 1 deletion(-) diff --git a/epan/dissectors/packet-devicenet.c b/epan/dissectors/packet-devicenet.c index 250ad24c42..df3033ab4b 100644 --- a/epan/dissectors/packet-devicenet.c +++ b/epan/dissectors/packet-devicenet.c @@ -616,7 +616,6 @@ static int dissect_devicenet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree break; } break; - break; case 0x1C0: expert_add_info_format(pinfo, msg_id_item, &ei_devicenet_invalid_msg_id, "Invalid Group 3 Messsage ID (%d)", message_id);