Fix Dead Store (Dead assignement/Dead increment) warning found by Clang

svn path=/trunk/; revision=53057
This commit is contained in:
Alexis La Goutte 2013-11-03 11:18:54 +00:00
parent 6166208f12
commit 95d4c4ac88
1 changed files with 1 additions and 1 deletions

View File

@ -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;