aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee17221.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-06-06 16:24:25 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-06-06 16:24:25 +0000
commit0dca89c4f23332e7acd62c290eac945fd9936ab7 (patch)
tree50c4f5051f3e350757b5d3698f8e1a78392cecca /epan/dissectors/packet-ieee17221.c
parent96e874b4c348239797734513ed17b26236bef32b (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=49809
Diffstat (limited to 'epan/dissectors/packet-ieee17221.c')
-rw-r--r--epan/dissectors/packet-ieee17221.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ieee17221.c b/epan/dissectors/packet-ieee17221.c
index c0793bdc02..3f35f11bbd 100644
--- a/epan/dissectors/packet-ieee17221.c
+++ b/epan/dissectors/packet-ieee17221.c
@@ -4152,9 +4152,9 @@ dissect_17221_aecp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *aecp_tree)
AECP_OFFSET_COUNTERS_DESCRIPTOR_INDEX, 2, ENC_BIG_ENDIAN);
if (mess_type == AECP_AEM_RESPONSE_MESSAGE) {
- flags_ti = proto_tree_add_item(aecp_tree, hf_aecp_flags_32, tvb,
+ /*flags_ti = */ proto_tree_add_item(aecp_tree, hf_aecp_flags_32, tvb,
AECP_OFFSET_COUNTERS_VALID, 4, ENC_BIG_ENDIAN);
- flags_tree = proto_item_add_subtree(flags_ti, ett_acmp_flags);
+ /*flags_tree = proto_item_add_subtree(flags_ti, ett_acmp_flags);*/
/* begin counters_valid flags field */
switch (tvb_get_ntohs(tvb, AECP_OFFSET_COUNTERS_DESCRIPTOR_TYPE)) {