aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_dtap.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-11-02 16:41:46 +0100
committerAnders Broman <a.broman58@gmail.com>2014-11-02 16:45:41 +0000
commit232879a1513119289f09c7cad1d03bd649504bee (patch)
treec3a050efd7d32ab84d1477cec86c810dd1f99f53 /epan/dissectors/packet-gsm_a_dtap.c
parent3f38631fd94124af796b33c269f18cd0c3f3c9f7 (diff)
gsm a dtap: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: Ifbe59a51e5fa6158f9073402f1a1ab63df2dfa42 Reviewed-on: https://code.wireshark.org/review/5071 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-gsm_a_dtap.c')
-rw-r--r--epan/dissectors/packet-gsm_a_dtap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_dtap.c b/epan/dissectors/packet-gsm_a_dtap.c
index 9dc3ff91d2..93ded877ca 100644
--- a/epan/dissectors/packet-gsm_a_dtap.c
+++ b/epan/dissectors/packet-gsm_a_dtap.c
@@ -2167,7 +2167,7 @@ de_bcd_num(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint32 offset,
&Dgt_mbcd);
digit_str = tvb_bcd_dig_to_wmem_packet_str(tvb, curr_offset, num_string_len, NULL, FALSE);
- item = proto_tree_add_string(tree, header_field, tvb, curr_offset, num_string_len, digit_str);
+ proto_tree_add_string(tree, header_field, tvb, curr_offset, num_string_len, digit_str);
item = proto_tree_add_string_format(tree, header_field,
tvb, curr_offset, num_string_len,
a_bigbuf,