aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pdcp-nr.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2018-04-20 08:07:25 +0000
committerAnders Broman <a.broman58@gmail.com>2018-04-20 08:38:19 +0000
commit6d7d3ae77abfc1eb19cbec3808f9c14d90e24472 (patch)
treefc6e5d08e8af61f8a23e40be6e25c305412e4482 /epan/dissectors/packet-pdcp-nr.c
parent2ac3cf1500b31c3f362efc4d8247bb3644eca069 (diff)
PDCP-NR: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Ib2d5c13c4f483866ac4b07942bf14a957a99dfeb Reviewed-on: https://code.wireshark.org/review/27046 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-pdcp-nr.c')
-rw-r--r--epan/dissectors/packet-pdcp-nr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-pdcp-nr.c b/epan/dissectors/packet-pdcp-nr.c
index 4f366a7eb7..d6ea2731ae 100644
--- a/epan/dissectors/packet-pdcp-nr.c
+++ b/epan/dissectors/packet-pdcp-nr.c
@@ -1317,7 +1317,6 @@ static int dissect_pdcp_nr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
/* Last 4 bytes are MAC */
guint32 mac = tvb_get_ntohl(payload_tvb, mac_offset);
proto_tree_add_item(pdcp_tree, hf_pdcp_nr_mac, payload_tvb, mac_offset, 4, ENC_BIG_ENDIAN);
- offset += 4;
col_append_fstr(pinfo->cinfo, COL_INFO, " MAC=0x%08x", mac);
}