diff options
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/nettl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/nettl.c b/wiretap/nettl.c index 9eb2437d04..44876257b8 100644 --- a/wiretap/nettl.c +++ b/wiretap/nettl.c @@ -678,7 +678,7 @@ int nettl_dump_can_write_encap(int encap) sets "*err" to an error code on failure */ gboolean nettl_dump_open(wtap_dumper *wdh, gboolean cant_seek _U_, int *err) { - guint32 magic; + /*guint32 magic;*/ struct nettl_file_hdr file_hdr; size_t nwritten; @@ -704,7 +704,7 @@ gboolean nettl_dump_open(wtap_dumper *wdh, gboolean cant_seek _U_, int *err) *err = WTAP_ERR_SHORT_WRITE; return FALSE; } - wdh->bytes_dumped += sizeof magic; + wdh->bytes_dumped += sizeof(guint32) /* magic */; return TRUE; } |