aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/cosine.c
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/cosine.c')
-rw-r--r--wiretap/cosine.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/wiretap/cosine.c b/wiretap/cosine.c
index 022667a357..9121861b3c 100644
--- a/wiretap/cosine.c
+++ b/wiretap/cosine.c
@@ -294,7 +294,6 @@ int cosine_open(wtap *wth, int *err, gchar **err_info)
if (file_seek(wth->fh, 0L, SEEK_SET, err) == -1) /* rewind */
return -1;
- wth->data_offset = 0;
wth->file_encap = WTAP_ENCAP_COSINE;
wth->file_type = WTAP_FILE_COSINE;
wth->snapshot_length = 0; /* not known */
@@ -334,7 +333,6 @@ static gboolean cosine_read(wtap *wth, int *err, gchar **err_info,
err_info)) == -1)
return FALSE;
- wth->data_offset = offset;
wth->phdr.presence_flags = WTAP_HAS_TS|WTAP_HAS_CAP_LEN;
wth->phdr.caplen = caplen;
*data_offset = offset;