From aa20023d6fbbe2bb726a949c4e7767e31345cce6 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Thu, 25 Apr 2019 19:00:36 +0000 Subject: [PATCH] ieee80211: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang Change-Id: Ia961ab458cf5a027bc5afb918b4af5b670b4bd88 Reviewed-on: https://code.wireshark.org/review/32988 Petri-Dish: Alexis La Goutte Reviewed-by: krunal soni Reviewed-by: Alexis La Goutte --- epan/dissectors/packet-ieee80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c index 31ac5b867a..62cde02ff6 100644 --- a/epan/dissectors/packet-ieee80211.c +++ b/epan/dissectors/packet-ieee80211.c @@ -9055,7 +9055,7 @@ dissect_ftm_params(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void ENC_LITTLE_ENDIAN, BMT_NO_APPEND); offset += 3; - return 9; + return offset; } static guint