diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-04-04 14:07:07 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-04-05 03:44:00 +0000 |
commit | 919b26323b9d47cb6379c3f9a5ca62fa948a83cd (patch) | |
tree | a8438b24967983551bb5990fdb16fa64a7f8f71e /epan/dissectors/packet-dpnet.c | |
parent | e46a8fc9cc09e12f36a6a0ee22fc72d41d583675 (diff) |
dpnet: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Ic3831f8d4e174a56c3b3f6ca2428496e9b307d05
Reviewed-on: https://code.wireshark.org/review/20901
Reviewed-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-dpnet.c')
-rw-r--r-- | epan/dissectors/packet-dpnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dpnet.c b/epan/dissectors/packet-dpnet.c index e75572e96b..ed15332517 100644 --- a/epan/dissectors/packet-dpnet.c +++ b/epan/dissectors/packet-dpnet.c @@ -129,7 +129,7 @@ static void process_dpnet_query(proto_tree *dpnet_tree, tvbuff_t *tvb, packet_in proto_tree_add_item_ret_uint(dpnet_tree, hf_dpnet_application_offset, tvb, offset, 4, ENC_LITTLE_ENDIAN, &application_offset); offset += 4; proto_tree_add_item_ret_uint(dpnet_tree, hf_dpnet_application_size, tvb, offset, 4, ENC_LITTLE_ENDIAN, &application_size); offset += 4; proto_tree_add_item(dpnet_tree, hf_dpnet_instance, tvb, offset, 16, ENC_LITTLE_ENDIAN); offset += 16; - proto_tree_add_item(dpnet_tree, hf_dpnet_application, tvb, offset, 16, ENC_LITTLE_ENDIAN); offset += 16; + proto_tree_add_item(dpnet_tree, hf_dpnet_application, tvb, offset, 16, ENC_LITTLE_ENDIAN); if(session_offset) { |