Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang

svn path=/trunk/; revision=49809
This commit is contained in:
Alexis La Goutte 2013-06-06 16:24:25 +00:00
parent 96e874b4c3
commit 0dca89c4f2
1 changed files with 2 additions and 2 deletions

View File

@ -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)) {