diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-06-26 12:21:37 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-06-26 19:32:17 +0000 |
commit | 0f42ed052225a4db9ad9615cadafb38000dcb0d4 (patch) | |
tree | 98802d383f427abf707f6c4b3033c4174e530a12 /epan/dissectors/packet-ieee80211-radio.c | |
parent | 5e6be95359b1be5e0e91db7039a0afc1172a8531 (diff) |
Squelch a compiler warning.
It's a bogus warning, but not all compilers do enough dataflow analysis
to figure that out.
Change-Id: Iebc1fffab87e83b16210003b60aae2333e0b5ec9
Reviewed-on: https://code.wireshark.org/review/9179
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-ieee80211-radio.c')
-rw-r--r-- | epan/dissectors/packet-ieee80211-radio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ieee80211-radio.c b/epan/dissectors/packet-ieee80211-radio.c index c8867672ba..b8bc7b0082 100644 --- a/epan/dissectors/packet-ieee80211-radio.c +++ b/epan/dissectors/packet-ieee80211-radio.c @@ -785,7 +785,7 @@ dissect_wlan_radio (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void case PHDR_802_11_PHY_11AC: { gboolean can_calculate_rate; - guint bandwidth; + guint bandwidth = 0; guint i; if (phdr->phy_info.info_11ac.presence_flags & PHDR_802_11AC_HAS_STBC) { |