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>
This commit is contained in:
ciechanowski 2018-03-13 12:52:44 -04:00 committed by Anders Broman
parent a2f9267615
commit fa27833548
1 changed files with 1 additions and 6 deletions

View File

@ -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