Remove unnecessary clearing of *err.

wtap_read() clears it for you.

Change-Id: I736509d54ff385e5b80e9393aeb91c6473b02824
Reviewed-on: https://code.wireshark.org/review/29939
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2018-09-30 12:40:48 -07:00
parent a5dd4a15aa
commit 9a0008f841
1 changed files with 0 additions and 2 deletions

View File

@ -203,8 +203,6 @@ static gboolean dpa400_seek_read(wtap *wth, gint64 seek_off, wtap_rec *rec, Buff
static gboolean dpa400_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset)
{
*err = 0;
*data_offset = file_tell(wth->fh);
return dpa400_read_packet(wth, wth->fh, &wth->rec, wth->rec_data, err, err_info);