From f53596396116d9cfb0f062c7c7704b36674483f0 Mon Sep 17 00:00:00 2001 From: etxrab Date: Fri, 9 Oct 2009 07:24:33 +0000 Subject: From Didier Gautheron: Dissectors using call_dissector() function inside a 'if (tree) {}' block. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4107 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30415 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-ipdc.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'epan/dissectors/packet-ipdc.c') diff --git a/epan/dissectors/packet-ipdc.c b/epan/dissectors/packet-ipdc.c index 2106400e8f..78cd3cba8b 100644 --- a/epan/dissectors/packet-ipdc.c +++ b/epan/dissectors/packet-ipdc.c @@ -148,8 +148,6 @@ dissect_ipdc_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) val_to_str(message_code, message_code_vals, TEXT_UNDEFINED)); - if (!tree) - return; ti = proto_tree_add_item(tree, proto_ipdc, tvb, 0, -1, FALSE); ipdc_tree = proto_item_add_subtree(ti, ett_ipdc); -- cgit v1.2.3