forked from osmocom/wireshark
ieee80211: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I357728e347fca35c73864f4ba81949183d5ba34d Reviewed-on: https://code.wireshark.org/review/29937 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
parent
1539e455d7
commit
a5dd4a15aa
|
@ -13328,11 +13328,9 @@ dissect_owe_transition_mode(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *t
|
|||
if (len >= 2) {
|
||||
proto_tree_add_item(tree, hf_ieee80211_wfa_ie_owe_band_info, tvb, offset, 1, ENC_NA);
|
||||
offset += 1;
|
||||
len -= 1;
|
||||
|
||||
proto_tree_add_item(tree, hf_ieee80211_wfa_ie_owe_channel_info, tvb, offset, 1, ENC_NA);
|
||||
offset += 1;
|
||||
len -= 1;
|
||||
}
|
||||
|
||||
return offset;
|
||||
|
|
Loading…
Reference in New Issue