summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-btsdp.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-11-03 11:18:54 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-11-03 11:18:54 +0000
commit95d4c4ac88414ae931d84522501f2a83d5814e69 (patch)
treecf97a63705f8f2c241a8badd96f3f485adaf6ce5 /epan/dissectors/packet-btsdp.c
parent6166208f125632ec0b0690d4fcb63c75e184fe37 (diff)
downloadwireshark-95d4c4ac88414ae931d84522501f2a83d5814e69.tar.gz
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
svn path=/trunk/; revision=53057
Diffstat (limited to 'epan/dissectors/packet-btsdp.c')
-rw-r--r--epan/dissectors/packet-btsdp.c2
1 files changed, 1 insertions, 1 deletions
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;