diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-05-09 11:41:32 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-05-09 11:36:11 +0000 |
commit | 666366e069ab52308139048a70591284e97e2095 (patch) | |
tree | 5ccdf552b68d9f55c74a2d8b8b235bc457b71d8d | |
parent | a7b0674076cdf034cc44fe97572e3a8f6e0e837f (diff) |
vwr (wiretap): fix Assigned value is garbage or undefined Warning found by Clang Analyzer
Change-Id: I45766c7e89a009176ae56fe9e9f5a8dd63b2995b
Reviewed-on: https://code.wireshark.org/review/21567
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | wiretap/vwr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/vwr.c b/wiretap/vwr.c index a912dcc85e..941ab8e330 100644 --- a/wiretap/vwr.c +++ b/wiretap/vwr.c @@ -1412,7 +1412,7 @@ static gboolean vwr_read_s2_W_rec(vwr_t *vwr, struct wtap_pkthdr *phdr, int bytes_written = 0; /* bytes output to buf so far */ const guint8 *s_start_ptr,*s_trail_ptr, *plcp_ptr, *m_ptr; /* stats & MPDU ptr */ guint32 msdu_length, actual_octets; /* octets in frame */ - guint8 l1p_1,l1p_2, plcp_type, rate_mcs_index, nss = 0; /* mod (CCK-L/CCK-S/OFDM) */ + guint8 l1p_1,l1p_2, plcp_type, rate_mcs_index = 0, nss = 0; /* mod (CCK-L/CCK-S/OFDM) */ guint flow_seq; guint64 s_time = LL_ZERO, e_time = LL_ZERO; /* start/end */ /* times, nsec */ |