aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2005-03-29 19:52:04 +0000
committerGerald Combs <gerald@wireshark.org>2005-03-29 19:52:04 +0000
commitb2c4af01c2a44d023643b8281e7fb258beeb1cfa (patch)
tree042fbf7ae724286a71ab526170f66314cd86c68f /epan
parent8e79a1852fe12cd6e3044c23cc4d5bc50c71ecaf (diff)
Remove a g_assert() left over from debugging.
svn path=/trunk/; revision=13971
Diffstat (limited to 'epan')
-rw-r--r--epan/proto.c1
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,