diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2016-05-12 22:49:09 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-05-13 04:01:55 +0000 |
commit | 8c614b8afb60b9428e704c598ba200fa0188345d (patch) | |
tree | e29902a25d1022f1887daee96e1cbc6e45206596 /epan/dissectors/packet-jxta.c | |
parent | a1891f64ec7e56a38e61225ced912c65fd053793 (diff) |
jxta: there's no need to call proto_tree_set_visible() when calling append_text()
It only needs to be called if you're calling proto_tree_append_string().
Change-Id: Ia00c3cb0077469ef6c2eadf98d02569af399fa7d
Reviewed-on: https://code.wireshark.org/review/15411
Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-jxta.c')
-rw-r--r-- | epan/dissectors/packet-jxta.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-jxta.c b/epan/dissectors/packet-jxta.c index 1990e8fc26..f2eb07da08 100644 --- a/epan/dissectors/packet-jxta.c +++ b/epan/dissectors/packet-jxta.c @@ -1109,9 +1109,6 @@ static int dissect_jxta_message_framing(tvbuff_t * tvb, packet_info * pinfo, pro proto_item *framing_tree_item; proto_tree *framing_tree; - /* Disable speed optimization because of use of append_text */ - proto_tree_set_visible(tree, TRUE); - framing_tree_item = proto_tree_add_none_format(tree, hf_jxta_framing, tvb, tree_offset, -1, "JXTA Message Framing Headers"); framing_tree = proto_item_add_subtree(framing_tree_item, ett_jxta_framing); |