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>
This commit is contained in:
Alexis La Goutte 2017-04-04 14:07:07 +02:00 committed by Michael Mann
parent e46a8fc9cc
commit 919b26323b
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{