diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2019-02-21 09:41:38 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2019-02-21 12:16:55 +0000 |
commit | fb1c33ed247aa89ff30370101230e0cefcccd8f8 (patch) | |
tree | 51a261c530863bf7e6757dccdcfa536b66b6c30b | |
parent | 551067767dc0e632894f2dba8bf10d3358766b0d (diff) |
btavdtp: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I2736c770c3deaffecd686814c25de29ae5097bad
Reviewed-on: https://code.wireshark.org/review/32131
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Jakub Pawlowski <jpawlowski@google.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | epan/dissectors/packet-btavdtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-btavdtp.c b/epan/dissectors/packet-btavdtp.c index b6c5e630c9..e21b80a06f 100644 --- a/epan/dissectors/packet-btavdtp.c +++ b/epan/dissectors/packet-btavdtp.c @@ -3245,7 +3245,7 @@ dissect_ldac(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_ expert_add_info(pinfo, rtree, &ei_ldac_truncated_or_bad_length); } - pitem = proto_tree_add_item(rtree, hf_ldac_syncword, tvb, offset, 1, ENC_BIG_ENDIAN); + proto_tree_add_item(rtree, hf_ldac_syncword, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; if (cci == LDAC_CCI_MONO) |