diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2018-05-16 08:25:32 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-05-17 07:40:59 +0000 |
commit | 4ae76081d5da79e3bed46aeb8d8e000820c44371 (patch) | |
tree | 3054cdc6ae944355dce62ebe3afb373880c6b794 /epan | |
parent | 4d711c92b129f8ec3da058cb8e1d951c3fc53a91 (diff) |
btavdtp: fix issue found by PVS Studio (V519)
The 'key[2].key' variable is assigned values twice successively.
Change-Id: I420bcde791eb2ebfab68a5c69bccc195e211de01
Reviewed-on: https://code.wireshark.org/review/27593
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-btavdtp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-btavdtp.c b/epan/dissectors/packet-btavdtp.c index a0df20a2de..01625b5369 100644 --- a/epan/dissectors/packet-btavdtp.c +++ b/epan/dissectors/packet-btavdtp.c @@ -1468,8 +1468,6 @@ dissect_btavdtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) key[0].key = &interface_id; key[1].length = 1; key[1].key = &adapter_id; - key[2].length = 1; - key[2].key = &chandle; key[3].length = 1; key[3].key = &cid; key[4].length = 1; |