From 154d793f1e5e11f8580dc28372e0789fede5310d Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Tue, 3 Sep 2013 18:43:11 +0000 Subject: [PATCH] Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang svn path=/trunk/; revision=51733 --- epan/dissectors/packet-dvbci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epan/dissectors/packet-dvbci.c b/epan/dissectors/packet-dvbci.c index 2fbbec6baa..01aeb4c4e2 100644 --- a/epan/dissectors/packet-dvbci.c +++ b/epan/dissectors/packet-dvbci.c @@ -3776,7 +3776,7 @@ dissect_dvbci_payload_opp(guint32 tag, gint len_field _U_, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; sig_qual = tvb_get_guint8(tvb, offset); - pi = proto_tree_add_item(tree, hf_dvbci_sig_qual, + proto_tree_add_item(tree, hf_dvbci_sig_qual, tvb, offset, 1, ENC_BIG_ENDIAN); if (sig_strength>100 || sig_qual>100) { pi = proto_tree_add_text(tree, tvb, offset, 1, @@ -4143,7 +4143,7 @@ dissect_dvbci_tpdu_status(tvbuff_t *tvb, gint offset, } t_c_id = tvb_get_guint8(tvb, offset_new); - pi = proto_tree_add_item(tree, hf_dvbci_t_c_id, tvb, offset_new, 1, ENC_BIG_ENDIAN); + proto_tree_add_item(tree, hf_dvbci_t_c_id, tvb, offset_new, 1, ENC_BIG_ENDIAN); /* tcid in transport header and link layer must only match for data * transmission commands */ if (t_c_id!=lpdu_tcid) {