aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2023-12-20 14:53:41 +0100
committerJohn Thacker <johnthacker@gmail.com>2023-12-20 21:49:39 +0000
commit0b9c79598b90ff13cb24341c418a55be2534fa77 (patch)
tree94b823cb498713f38107fae0517bc673a6d16276
parent4d3475223a59cd74a3da52bf2ad120bde98a5dc7 (diff)
radiotap: Fix Dead Store found by Clang Analyzer
Value stored to 'offset' is never read
-rw-r--r--epan/dissectors/packet-ieee80211-radiotap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ieee80211-radiotap.c b/epan/dissectors/packet-ieee80211-radiotap.c
index 8ecd37eb5b..c5f78a2578 100644
--- a/epan/dissectors/packet-ieee80211-radiotap.c
+++ b/epan/dissectors/packet-ieee80211-radiotap.c
@@ -1891,7 +1891,6 @@ dissect_radiotap_0_length_psdu(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree
proto_tree_add_item_ret_uint(zero_len_tree, hf_radiotap_0_length_psdu_type,
tvb, offset, 1, ENC_NA, &psdu_type);
- offset += 1;
switch (psdu_type) {