diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2010-10-30 16:00:30 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2010-10-30 16:00:30 +0000 |
commit | e17b9ccec18b9efaacb370ff715c19b09f1b4ea0 (patch) | |
tree | 96ced51f0ba70bc067960c979a5243c43d4a52d7 /print.c | |
parent | b94da93586f8af151aea9ef60e2d409761371a5a (diff) |
Rev 29427 added packet_add_new_data_source() with a comment indicating that
the data source does not need to be allocated if (!tree).
Rev 30158 took the if (!tree) check out indicating that the check was invalid.
So: (since packet_add_new_data_source() now only calls add_new_data_source()),
remove packet_add_new_data_source().
svn path=/trunk/; revision=34717
Diffstat (limited to 'print.c')
-rw-r--r-- | print.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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 |