diff options
author | Evan Huus <eapache@gmail.com> | 2013-09-28 02:41:49 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-09-28 02:41:49 +0000 |
commit | ca52337c437f75619206086fab008a1bccf25939 (patch) | |
tree | 06ed25ccc09f80f0266a99008ec507be594e319f /plugins/wimax/msg_dcd.c | |
parent | e5379de1261b0f36a7a7900ba0137a9aae0cd9b6 (diff) | |
download | wireshark-ca52337c437f75619206086fab008a1bccf25939.tar.gz wireshark-ca52337c437f75619206086fab008a1bccf25939.tar.bz2 wireshark-ca52337c437f75619206086fab008a1bccf25939.zip |
Fix various warnings in (hopefully) the right ways.
svn path=/trunk/; revision=52236
Diffstat (limited to 'plugins/wimax/msg_dcd.c')
-rw-r--r-- | plugins/wimax/msg_dcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/wimax/msg_dcd.c b/plugins/wimax/msg_dcd.c index 9d50652f5f..1d2942177c 100644 --- a/plugins/wimax/msg_dcd.c +++ b/plugins/wimax/msg_dcd.c @@ -607,7 +607,7 @@ static void dissect_mac_mgmt_msg_dcd_decoder(tvbuff_t *tvb, packet_info *pinfo, } case DCD_TLV_T_33_ASR: { - tlv_tree = add_tlv_subtree(&tlv_info, dcd_tree, hf_dcd_tlv_t_33_asr, tvb, offset-tlv_value_offset, ENC_BIG_ENDIAN); + tlv_item = add_tlv_subtree(&tlv_info, dcd_tree, hf_dcd_tlv_t_33_asr, tvb, offset-tlv_value_offset, ENC_BIG_ENDIAN); tlv_tree = proto_item_add_subtree(tlv_item, ett_mac_mgmt_msg_dcd_decoder); tlv_item = proto_tree_add_item(tlv_tree, hf_dcd_tlv_t_33_asr_m, tvb, offset, 1, ENC_BIG_ENDIAN); proto_item_append_text(tlv_item, " frames"); @@ -1253,4 +1253,4 @@ void proto_reg_handoff_mac_mgmt_msg_dcd(void) dcd_handle = create_dissector_handle(dissect_mac_mgmt_msg_dcd_decoder, proto_mac_mgmt_msg_dcd_decoder); dissector_add_uint("wmx.mgmtmsg", MAC_MGMT_MSG_DCD, dcd_handle); -}
\ No newline at end of file +} |