diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-10-30 02:03:28 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-10-30 09:03:51 +0000 |
commit | c0a4a91ec20d2a91fe7b1d7ae3476e042ae86ba7 (patch) | |
tree | f8e265e3ddfef40c1612a9babfb437a78fc53cef /wiretap/peektagged.c | |
parent | fdb3ea591bc2d7bb90859eea7cc88a4350de6b6f (diff) |
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>
Diffstat (limited to 'wiretap/peektagged.c')
-rw-r--r-- | wiretap/peektagged.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wiretap/peektagged.c b/wiretap/peektagged.c index 1e93860d50..6e88d9334c 100644 --- a/wiretap/peektagged.c +++ b/wiretap/peektagged.c @@ -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 */ |