From 95d4c4ac88414ae931d84522501f2a83d5814e69 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sun, 3 Nov 2013 11:18:54 +0000 Subject: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang svn path=/trunk/; revision=53057 --- epan/dissectors/packet-btsdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-btsdp.c') diff --git a/epan/dissectors/packet-btsdp.c b/epan/dissectors/packet-btsdp.c index c49f6eff32..a0e205021f 100644 --- a/epan/dissectors/packet-btsdp.c +++ b/epan/dissectors/packet-btsdp.c @@ -1278,7 +1278,7 @@ dissect_continuation_state(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, } else if (length > 17) { proto_tree_add_expert(tree, pinfo, &ei_btsdp_continuation_state_large, tvb, offset, -1); } else if (length == 1 && tvb_get_guint8(tvb, offset) == 0x00) { - cont_item = proto_tree_add_none_format(tree, hf_continuation_state, tvb, + proto_tree_add_none_format(tree, hf_continuation_state, tvb, offset, -1, "Continuation State: no (00)"); } else { proto_item *cont_tree; -- cgit v1.2.1