diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2018-08-17 11:42:11 +0000 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-08-17 13:01:57 +0000 |
commit | ebf6f43044177af46fa172a88024926aeaab69ce (patch) | |
tree | 1d8795fc72058931c8b4534ef7f13475ddab2f33 /epan/dissectors/packet-gtp.c | |
parent | 46ea37d5923eab708c9239f4dcfbc6e623e62aa4 (diff) |
gtp: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Ic94da3e34b52663c315ed22dc9e3b4be1066b1a3
Reviewed-on: https://code.wireshark.org/review/29180
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-gtp.c')
-rw-r--r-- | epan/dissectors/packet-gtp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gtp.c b/epan/dissectors/packet-gtp.c index 7574524bb6..0442b87ead 100644 --- a/epan/dissectors/packet-gtp.c +++ b/epan/dissectors/packet-gtp.c @@ -9074,7 +9074,6 @@ dissect_gtp_common(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree) proto_tree_add_uint(gtp_tree, hf_gtp_ext_hdr_next, tvb, offset, 1, next_hdr); offset++; while (next_hdr != 0) { - nr_pdu_type = -1; ext_hdr_length = tvb_get_guint8(tvb, offset); tf = proto_tree_add_item(gtp_tree, hf_gtp_ext_hdr, tvb, offset, ext_hdr_length*4, ENC_NA); ext_tree = proto_item_add_subtree(tf, ett_gtp_ext_hdr); |