aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee17221.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-01-06 14:50:06 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-01-06 14:50:06 +0000
commit3bf44b5a2705639841b0d53339f21c0125c9ad82 (patch)
tree4f59140e9776b2dad6fea3675db1a44d343cee98 /epan/dissectors/packet-ieee17221.c
parent2e3564d69e7006830c891b4de796752e3a258be6 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=46962
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 56b7a9f6fc..c974828a6b 100644
--- a/epan/dissectors/packet-ieee17221.c
+++ b/epan/dissectors/packet-ieee17221.c
@@ -3348,9 +3348,9 @@ dissect_17221_aem(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
proto_tree_add_item(aem_tree, hf_aem_clock_source_name_string, tvb,
CLOCK_SOURCE_OFFSET_LOCALIZED_DESCRIPTION, 2, ENC_BIG_ENDIAN);
/* set up clock_source_flags subtree */
- mr_item = proto_tree_add_item(aem_tree, hf_aem_clock_source_flags, tvb,
+ /*mr_item = */proto_tree_add_item(aem_tree, hf_aem_clock_source_flags, tvb,
CLOCK_SOURCE_OFFSET_CLOCK_SOURCE_FLAGS, 2, ENC_BIG_ENDIAN);
- mr_subtree = proto_item_add_subtree(mr_item, ett_aem_clock_source_flags);
+ /* mr_subtree = proto_item_add_subtree(mr_item, ett_aem_clock_source_flags);*/
/* all flags reserved */
/* end clock_source_flags subtree */
proto_tree_add_item(aem_tree, hf_aem_clock_source_type, tvb,