diff options
author | Gerald Combs <gerald@wireshark.org> | 2005-03-29 19:52:04 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2005-03-29 19:52:04 +0000 |
commit | b2c4af01c2a44d023643b8281e7fb258beeb1cfa (patch) | |
tree | 042fbf7ae724286a71ab526170f66314cd86c68f /epan/proto.c | |
parent | 8e79a1852fe12cd6e3044c23cc4d5bc50c71ecaf (diff) |
Remove a g_assert() left over from debugging.
svn path=/trunk/; revision=13971
Diffstat (limited to 'epan/proto.c')
-rw-r--r-- | epan/proto.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c index d5401af98d..6381218584 100644 --- a/epan/proto.c +++ b/epan/proto.c @@ -2128,7 +2128,6 @@ alloc_field_info(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start, item_length = length_remaining; } } -g_assert(item_length >= 0); if (item_length < 0) { REPORT_DISSECTOR_BUG(g_strdup_printf("\"%s\" - \"%s\" invalid length: %d (%s:%u)", hfinfo->name, hfinfo->abbrev, item_length, |