Initialize the whole hdr_info structure to please gcc 4.3.2

svn path=/trunk/; revision=49710
This commit is contained in:
Pascal Quantin 2013-06-03 07:48:59 +00:00
parent 8c112f9223
commit 8c32b5db74
1 changed files with 1 additions and 2 deletions

View File

@ -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 {