aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lbmpdm.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2018-05-16 08:32:31 +0200
committerAnders Broman <a.broman58@gmail.com>2018-05-17 07:43:24 +0000
commit57ddb2e651fa71ef4d1f678b3e7047e87bbbdbd9 (patch)
treeb4834a5ba1a37f413b956d7ffafe5f0b5ca56243 /epan/dissectors/packet-lbmpdm.c
parent6a95d5251c173f104b23927393fb05ec07b1de8e (diff)
lbmpdm: fix issue found by PVS Studio (V519)
The 'msgid.msg_def_id' variable is assigned values twice successively. The 'msgid.ver_major' variable is assigned values twice successively. The 'msgid.ver_minor' variable is assigned values twice successively. Change-Id: I675d5a0870575ac358173c12920e0c0c920f17b1 Reviewed-on: https://code.wireshark.org/review/27595 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-lbmpdm.c')
-rw-r--r--epan/dissectors/packet-lbmpdm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-lbmpdm.c b/epan/dissectors/packet-lbmpdm.c
index f6f9295ee9..a875c8c514 100644
--- a/epan/dissectors/packet-lbmpdm.c
+++ b/epan/dissectors/packet-lbmpdm.c
@@ -1202,9 +1202,6 @@ int lbmpdm_dissect_lbmpdm_payload(tvbuff_t * tvb, int offset, packet_info * pinf
msglen = (int)raw_msglen;
msgid.channel = channel;
- msgid.msg_def_id = 0;
- msgid.ver_major = 0;
- msgid.ver_minor = 0;
msgid.offset_table = NULL;
subtree_item = proto_tree_add_protocol_format(tree, proto_lbmpdm, tvb, offset, msglen, "LBMPDM Protocol");
subtree = proto_item_add_subtree(subtree_item, ett_lbmpdm);