From 45e801913e16ed2398e0f74b82e4b267d493c60e Mon Sep 17 00:00:00 2001 From: Chris Maynard Date: Mon, 4 Feb 2013 02:50:26 +0000 Subject: Add a FALLTHROUGH comment to fix Coverity CID 745673: Missing break in switch. (No need to backport.) svn path=/trunk/; revision=47462 --- epan/dissectors/packet-bthci_evt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'epan') diff --git a/epan/dissectors/packet-bthci_evt.c b/epan/dissectors/packet-bthci_evt.c index 5d817ceec2..437c1a6ce7 100644 --- a/epan/dissectors/packet-bthci_evt.c +++ b/epan/dissectors/packet-bthci_evt.c @@ -2002,7 +2002,7 @@ dissect_bthci_evt_num_completed_data_blocks(tvbuff_t *tvb, int offset, packet_in offset+=2; proto_tree_add_item(tree, hf_bthci_evt_num_compl_blocks, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset+=2; - } + } return offset; } @@ -2160,6 +2160,7 @@ dissect_bthci_evt_command_complete(tvbuff_t *tvb, int offset, packet_info *pinfo /* This is a list of Commands that all return status and BD_ADDR */ case 0x1009: /* Read BD_ADDR */ local_addr = TRUE; + /* FALLTHROUGH */ case 0x0408: /* Create Connection Cancel */ case 0x040b: /* Link Key Request Reply */ case 0x040c: /* Link Key Request Negative Reply */ -- cgit v1.2.3