From 5db6069274816275aca989e6494407fb50752954 Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Mon, 18 Jul 2011 15:52:16 +0000 Subject: Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings. svn path=/trunk/; revision=38085 --- epan/dissectors/packet-wtls.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'epan/dissectors/packet-wtls.c') diff --git a/epan/dissectors/packet-wtls.c b/epan/dissectors/packet-wtls.c index c3a6134f5e..f3e34c8f99 100644 --- a/epan/dissectors/packet-wtls.c +++ b/epan/dissectors/packet-wtls.c @@ -322,7 +322,6 @@ dissect_wtls(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) int offset = 0; char pdut; - char pdu_msg_type; guint count = 0; guint offset_wtls = 0; @@ -414,7 +413,6 @@ dissect_wtls(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) ti = proto_tree_add_item(wtls_rec_tree, hf_wtls_alert, tvb, offset, count, bo_little_endian); wtls_msg_type_tree = proto_item_add_subtree(ti, ett_wtls_msg_type); - pdu_msg_type = tvb_get_guint8 (tvb, offset); proto_tree_add_item (wtls_msg_type_tree, hf_wtls_alert_level, tvb,offset,1,bo_big_endian); offset+=1; @@ -485,7 +483,6 @@ dissect_wtls_handshake(proto_tree *tree, tvbuff_t *tvb, guint offset, guint coun guint value = 0; int size = 0; guint public_key = 0; - guint signature = 0; char valStr[1024]; const char *valBulk = NULL; const char *valMac = NULL; @@ -930,7 +927,6 @@ dissect_wtls_handshake(proto_tree *tree, tvbuff_t *tvb, guint offset, guint coun bo_little_endian); offset++; client_size++; - signature = tvb_get_guint8 (tvb, offset); proto_tree_add_item(wtls_msg_type_item_sub_tree, hf_wtls_hands_certificate_wtls_signature_type, tvb, offset,1, -- cgit v1.2.3