aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-catapult-dct2000.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.mathieson@keysight.com>2020-02-14 21:13:56 +0000
committerAnders Broman <a.broman58@gmail.com>2020-02-15 11:06:41 +0000
commite30f0d09208b01a7dd3d685b612110d16683f045 (patch)
tree01b30244e1f515ac3a3e3c7163ef2e8175660d00 /epan/dissectors/packet-catapult-dct2000.c
parent36e5f9539e982abf420bf8f044bd1a2c45e22919 (diff)
Some issues spotted by PVS-Studio in bug 16335. Many more remain
Change-Id: If856e25af8e33eeef5b9e595f1f6820459892b17 Reviewed-on: https://code.wireshark.org/review/36110 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-catapult-dct2000.c')
-rw-r--r--epan/dissectors/packet-catapult-dct2000.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-catapult-dct2000.c b/epan/dissectors/packet-catapult-dct2000.c
index 43e640a738..83bbbcc418 100644
--- a/epan/dissectors/packet-catapult-dct2000.c
+++ b/epan/dissectors/packet-catapult-dct2000.c
@@ -654,7 +654,6 @@ static gboolean find_sctpprim_variant3_data_offset(tvbuff_t *tvb, int *data_offs
break;
case 0x0d00: /* StreamNum */
- *dest_port_offset = offset;
offset += 2;
break;