aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gtp.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2019-03-24 07:21:43 +0000
committerAnders Broman <a.broman58@gmail.com>2019-03-25 11:51:49 +0000
commit2df2edefa726dc794fd8ec0af9e2b5d92d70dbc9 (patch)
tree590b0de84db83bf5e870887b8fb251c6b3bdb2f1 /epan/dissectors/packet-gtp.c
parent67441248be9b0f08a5cfb6b5ca6f77f6284fa40d (diff)
gtp: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I5b74036383f6e53f1deaed32cd7858edf3feeda0 Reviewed-on: https://code.wireshark.org/review/32550 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-gtp.c')
-rw-r--r--epan/dissectors/packet-gtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gtp.c b/epan/dissectors/packet-gtp.c
index 8dd602fdd0..cbe0457a88 100644
--- a/epan/dissectors/packet-gtp.c
+++ b/epan/dissectors/packet-gtp.c
@@ -8222,7 +8222,7 @@ decode_gtp_add_mm_ctx_srvcc(tvbuff_t * tvb, int offset, packet_info * pinfo, pro
proto_tree_add_item_ret_uint(ext_tree, hf_gtp_sup_codec_lst_len, tvb, offset, 1, ENC_BIG_ENDIAN, &inf_len);
offset++;
if (inf_len > 0) {
- offset += de_sup_codec_list(tvb, ext_tree, pinfo, offset, inf_len, NULL, 0);
+ de_sup_codec_list(tvb, ext_tree, pinfo, offset, inf_len, NULL, 0);
}
return 3 + length;