diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-06-03 07:48:59 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-06-03 07:48:59 +0000 |
commit | 8c32b5db748c5a857b7c410f3ad207c3e4ede802 (patch) | |
tree | 87fc60c0061692971972ecc2de1753b3f39d083c /wiretap/peektagged.c | |
parent | 8c112f92232065ad5ac16e64ff60a05eaf75e769 (diff) |
Initialize the whole hdr_info structure to please gcc 4.3.2
svn path=/trunk/; revision=49710
Diffstat (limited to 'wiretap/peektagged.c')
-rw-r--r-- | wiretap/peektagged.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wiretap/peektagged.c b/wiretap/peektagged.c index 5dfff3ebeb..8bb1b9e691 100644 --- a/wiretap/peektagged.c +++ b/wiretap/peektagged.c @@ -402,8 +402,7 @@ peektagged_process_header(wtap *wth, FILE_T fh, struct wtap_pkthdr *phdr, int skip_len = 0; double t; - hdr_info.length = 0; - hdr_info.sliceLength = 0; + memset(&hdr_info, 0, sizeof(hdr_info_t)); /* Extract the fields from the packet header */ do { |