aboutsummaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'print.c')
-rw-r--r--print.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/print.c b/print.c
index ad67e0a868..010e52eecd 100644
--- a/print.c
+++ b/print.c
@@ -245,10 +245,6 @@ proto_tree_write_pdml(epan_dissect_t *edt, FILE *fh)
data.src_list = edt->pi.data_src;
data.edt = edt;
- /* We shouldn't be called with a NULL pointer here because we've
- * created a visible protocol tree */
- g_assert(data.src_list);
-
fprintf(fh, "<packet>\n");
/* Print a "geninfo" protocol as required by PDML */
@@ -799,10 +795,6 @@ print_hex_data(print_stream_t *stream, epan_dissect_t *edt)
const guchar *cp;
guint length;
- /* We shouldn't be called with a NULL pointer here because we've
- * created a visible protocol tree */
- g_assert(edt->pi.data_src);
-
/*
* Set "multiple_sources" iff this frame has more than one
* data source; if it does, we need to print the name of