diff options
author | Jörg Mayer <jmayer@loplof.de> | 2012-02-05 11:24:06 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2012-02-05 11:24:06 +0000 |
commit | d436f89480079c38f92116af849c1d99b9f1f195 (patch) | |
tree | 3c93e4cb283e546ac79083d0f3f8954f47ca2373 /epan/dissectors/packet-dvb-ipdc.c | |
parent | 8d4f6fc794071e17bcb0302c35dd319b84bc5501 (diff) |
There is a logic bug in this dissector that is exposed
by a set but unused warning. Hack around this for now.
Someone who knows the protocol should fix this.
svn path=/trunk/; revision=40853
Diffstat (limited to 'epan/dissectors/packet-dvb-ipdc.c')
-rw-r--r-- | epan/dissectors/packet-dvb-ipdc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-dvb-ipdc.c b/epan/dissectors/packet-dvb-ipdc.c index 43b4747443..1b728bb262 100644 --- a/epan/dissectors/packet-dvb-ipdc.c +++ b/epan/dissectors/packet-dvb-ipdc.c @@ -64,17 +64,17 @@ dissect_ipdc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* call into flute */ len = tvb_reported_length_remaining(tvb, 0); +/* FIXME: make proper use of esg_tree, everythign else is a logic bug */ if (tree) { - proto_item *ti; - proto_tree *esg_tree; + /* proto_item *ti; */ + /* proto_tree *esg_tree; */ - ti = proto_tree_add_protocol_format(tree, proto_ipdc, + /* ti = */ proto_tree_add_protocol_format(tree, proto_ipdc, tvb, 0, len, "ESG Bootstrap"); - esg_tree = proto_item_add_subtree(ti, ett_ipdc); + /* esg_tree = proto_item_add_subtree(ti, ett_ipdc); */ } - next_tvb = tvb_new_subset(tvb, 0, len, len); call_dissector(sub_handles[SUB_FLUTE], next_tvb, pinfo, tree); } |