diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-09-30 09:03:41 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-09-30 09:03:41 +0000 |
commit | 88c79b03d92f3ec2a5d2df663f610bef4adc75e1 (patch) | |
tree | e790a7ad80dde028b2a3fd09334a6876aebd8769 /plugins | |
parent | 37762701c40dba550bdc935f9649879129406baf (diff) |
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
svn path=/trunk/; revision=52290
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/wimax/wimax_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/wimax/wimax_utils.c b/plugins/wimax/wimax_utils.c index 4ec011b57f..0ea5be75f0 100644 --- a/plugins/wimax/wimax_utils.c +++ b/plugins/wimax/wimax_utils.c @@ -2215,7 +2215,7 @@ void wimax_service_flow_encodings_decoder(tvbuff_t *tvb, packet_info *pinfo, pro /* TODO: Find a way to get the correct service type from the TLV */ tlv_value = tvb_get_guint8(tvb, offset); set_service_type( tlv_value ); - tlv_tree = add_tlv_subtree(&tlv_info, tree, hf_sfe_ul_grant_scheduling, tvb, offset-tlv_value_offset, ENC_BIG_ENDIAN); + add_tlv_subtree(&tlv_info, tree, hf_sfe_ul_grant_scheduling, tvb, offset-tlv_value_offset, ENC_BIG_ENDIAN); break; case SFE_TX_POLICY: /* add TLV subtree */ @@ -2817,7 +2817,7 @@ void wimax_pkm_tlv_encoded_attributes_decoder(tvbuff_t *tvb, packet_info *pinfo, wimax_sa_descriptor_decoder(tvb_new_subset_length(tvb, offset, tlv_len), pinfo, tlv_tree); break; case PKM_ATTR_SA_TYPE: - tlv_tree = add_tlv_subtree(&tlv_info, tree, hf_pkm_sa_type, tvb, offset-tlv_value_offset, ENC_BIG_ENDIAN); + add_tlv_subtree(&tlv_info, tree, hf_pkm_sa_type, tvb, offset-tlv_value_offset, ENC_BIG_ENDIAN); break; case PKM_ATTR_SECURITY_NEGOTIATION_PARAMETERS: tlv_tree = add_protocol_subtree(&tlv_info, ett_pkm_tlv_encoded_attributes_decoder, tree, proto_wimax_utility_decoders, tvb, offset-tlv_value_offset, tlv_len, "Security Negotiation Parameters"); |