diff options
author | Martin Mathieson <martin.mathieson@keysight.com> | 2023-07-18 12:28:39 +0100 |
---|---|---|
committer | Martin Mathieson <martin.mathieson@keysight.com> | 2023-07-18 12:28:39 +0100 |
commit | 2134cca1a4faec8d332cd664335fa7d08013143b (patch) | |
tree | c3ec2c57ef175a5a791c1a3e054ca9ff02fcbc14 | |
parent | a6a5707a78724a7ad1e469cc069d63758e0fc770 (diff) |
AMR: avoid redundant assignment
-rw-r--r-- | epan/dissectors/packet-amr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-amr.c b/epan/dissectors/packet-amr.c index dfb8ccf163..2a647bd6cd 100644 --- a/epan/dissectors/packet-amr.c +++ b/epan/dissectors/packet-amr.c @@ -491,7 +491,7 @@ dissect_amr_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gint amr proto_tree_add_bits_item(amr_tree, hf_amr_wb_cmr, tvb, bit_offset, 4, ENC_BIG_ENDIAN); bit_offset += 4; - item = proto_tree_add_item(amr_tree, hf_amr_reserved, tvb, offset, 1, ENC_BIG_ENDIAN); + proto_tree_add_item(amr_tree, hf_amr_reserved, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; bit_offset += 4; /* |