diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2018-04-30 14:35:20 +0200 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2018-04-30 12:59:58 +0000 |
commit | 418ddf4fa7a1567439d0d2bec2bb545304d169fa (patch) | |
tree | b1956873e2edc9aa01c4edcc0bb67dfc55b30ddd /epan | |
parent | adcc41ce36b8e3baa468da2e683d00e25576e88c (diff) |
pdcp-nr: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I4f6ab2ff54c1b5d6c4892b6e76d47b5107c0a197
Reviewed-on: https://code.wireshark.org/review/27220
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-pdcp-nr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-pdcp-nr.c b/epan/dissectors/packet-pdcp-nr.c index e217e5e213..d12ed9b4be 100644 --- a/epan/dissectors/packet-pdcp-nr.c +++ b/epan/dissectors/packet-pdcp-nr.c @@ -1228,8 +1228,6 @@ static int dissect_pdcp_nr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, data_length, ENC_NA); } - offset += data_length; - if (p_pdcp_info->bearerType == Bearer_DCCH) { mac_included = TRUE; mac_offset = tvb_reported_length(tvb)-4; |