diff options
author | Michael Mann <mmann78@netscape.net> | 2017-04-10 23:26:07 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-04-11 05:30:23 +0000 |
commit | 6b30fe1ce5014ec332cf8c2f483f9f1c519e0167 (patch) | |
tree | 5cc6471a351116fa0de76b4170c47ad123c85e32 /epan/dissectors | |
parent | 069c15ccb94e2d2657f21a9001715732fdfd927c (diff) |
packet-icmp.c: Remove tree check that prevents expert info
proto_tree_add_checksum uses expert info and shouldn't be
"NULL tree protected"
Change-Id: If8a367c2be69252e9c6613329b7f78ad7e1e34eb
Ping-Bug: 13586
Reviewed-on: https://code.wireshark.org/review/21012
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-icmp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/dissectors/packet-icmp.c b/epan/dissectors/packet-icmp.c index 4e7c673639..e6350b8c18 100644 --- a/epan/dissectors/packet-icmp.c +++ b/epan/dissectors/packet-icmp.c @@ -785,10 +785,6 @@ dissect_extensions(tvbuff_t * tvb, packet_info *pinfo, gint offset, proto_tree * gboolean unknown_object; guint8 int_info_obj_count; - if (!tree) - return; - - ext_tree = NULL; int_info_obj_count = 0; reported_length = tvb_reported_length_remaining(tvb, offset); |