forked from osmocom/wireshark
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:
parent
2f297457af
commit
5b533e4f3e
|
@ -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 : ",
|
||||
|
|
Loading…
Reference in New Issue