ieee80211: Fix Dead Store found by Clang Analyzer
Value stored to 'offset' is never read
This commit is contained in:
parent
b140ea6f50
commit
670fab2ce5
|
@ -18194,7 +18194,7 @@ dissect_no_bssid_capability(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *t
|
|||
ett_tag_no_bssid_capability_dmg_bss_control_tree,
|
||||
ieee80211_tag_no_bssid_capability_dmg_bss_control,
|
||||
ENC_LITTLE_ENDIAN, BMT_NO_APPEND);
|
||||
offset += 1;
|
||||
/* offset += 1; */
|
||||
|
||||
ieee80211_tag_dmg_capabilities(tvb, pinfo, tree, data);
|
||||
}
|
||||
|
@ -18252,7 +18252,7 @@ dissect_multiple_bssid_index(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *
|
|||
offset += 1;
|
||||
}
|
||||
|
||||
return tvb_captured_length(tvb);
|
||||
return offset;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Reference in New Issue