gtp(v2): Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang

Change-Id: I3bfe5fdbe16a5fd7072f3a1c1e8bb5fdd6be0040
Reviewed-on: https://code.wireshark.org/review/29436
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Alexis La Goutte 2018-09-05 18:31:14 +00:00 committed by Anders Broman
parent 2f297457af
commit 5b533e4f3e
1 changed files with 0 additions and 1 deletions

View File

@ -7442,7 +7442,6 @@ dissect_gtpv2_ie_common(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree,
/*Octet 2 - 3 */
proto_tree_add_item(tree, hf_gtpv2_ie_len, tvb, offset, 2, ENC_BIG_ENDIAN);
offset += 2;
return;
}
ie_tree = proto_tree_add_subtree_format(tree, tvb, offset, 4 + length, ett_gtpv2_ies[type], &ti, "%s : ",