diff options
author | ciechanowski <markciechanowski@gmail.com> | 2018-03-13 12:52:44 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-03-13 18:17:21 +0000 |
commit | fa278335483da207150f8680811ad5f9545ab57d (patch) | |
tree | 4357f0b5a40d270523ccfebee204bb269d4db620 /plugins | |
parent | a2f926761525ac67feeda742a796917a1f043b33 (diff) |
Removed assert which was only used for debugging.
Change-Id: I647f023e0e40c90a71b3328717c7ab9eaf30aac5
Reviewed-on: https://code.wireshark.org/review/26461
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/epan/gryphon/packet-gryphon.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/epan/gryphon/packet-gryphon.c b/plugins/epan/gryphon/packet-gryphon.c index a3e2efa70c..29437dc663 100644 --- a/plugins/epan/gryphon/packet-gryphon.c +++ b/plugins/epan/gryphon/packet-gryphon.c @@ -1283,12 +1283,7 @@ dissect_gryphon_message_with_offset(tvbuff_t *tvb, int offset, packet_info *pinf static void dissect_gryphon_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean is_msgresp_add) { - int offset; - int msglen; - offset = dissect_gryphon_message_with_offset(tvb, 0, pinfo, tree, is_msgresp_add); - msglen = tvb_reported_length_remaining(tvb, offset); - DISSECTOR_ASSERT_HINT(msglen <= 0, "dissect_gryphon_message() did not dissect entire message"); - + dissect_gryphon_message_with_offset(tvb, 0, pinfo, tree, is_msgresp_add); } static int |