Dataflow analysis is hard, let's go shopping!
Another case where the compiler didn't figure out that the variables aren't used if they're not set. Change-Id: I70bfb06c6d86d41a266a087ece971c40cd697ee9 Reviewed-on: https://code.wireshark.org/review/4994 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
fdb3ea591b
commit
c0a4a91ec2
|
@ -502,6 +502,8 @@ peektagged_read_packet(wtap *wth, FILE_T fh, struct wtap_pkthdr *phdr,
|
|||
int skip_len = 0;
|
||||
double t;
|
||||
|
||||
timestamp.upper = 0;
|
||||
timestamp.lower = 0;
|
||||
memset(&ieee_802_11, 0, sizeof ieee_802_11);
|
||||
|
||||
/* Extract the fields from the packet header */
|
||||
|
|
Loading…
Reference in New Issue