aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-radius.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2009-07-30 17:22:00 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2009-07-30 17:22:00 +0000
commitd59d4a4d7b37a437f83a6e0d1c40fe14dfec3314 (patch)
treefde89ecaa57057597db7acc6343f32d1017dd021 /epan/dissectors/packet-radius.c
parentd36485104a38907de8182f9c35229d4921a5d611 (diff)
Remove a couple of unused variables.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29245 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-radius.c')
-rw-r--r--epan/dissectors/packet-radius.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/epan/dissectors/packet-radius.c b/epan/dissectors/packet-radius.c
index 30f4f22eb8..7a7383b7f7 100644
--- a/epan/dissectors/packet-radius.c
+++ b/epan/dissectors/packet-radius.c
@@ -744,7 +744,6 @@ void radius_tlv(radius_attr_info_t* a, proto_tree* tree, packet_info *pinfo _U_,
while (len > 0) {
radius_attr_info_t* dictionary_entry = NULL;
- gint tvb_len;
guint32 tlv_type;
guint32 tlv_length;
@@ -799,11 +798,6 @@ void radius_tlv(radius_attr_info_t* a, proto_tree* tree, packet_info *pinfo _U_,
PROTO_ITEM_SET_GENERATED(tlv_len_item);
}
- tvb_len = tvb_length_remaining(tvb, offset);
-
- if ((gint)tlv_length < tvb_len)
- tvb_len = tlv_length;
-
add_tlv_to_tree(tlv_tree, tlv_item, pinfo, tvb, dictionary_entry,
tlv_length, offset);
offset += tlv_length;