From 000182e09b4fe22c06a2e65f036a4cf573db3251 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sat, 2 Sep 2006 00:24:31 +0000 Subject: [PATCH] remove a comment with dead code remove three pointless volatile declarations svn path=/trunk/; revision=19111 --- epan/dissectors/packet-gssapi.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/epan/dissectors/packet-gssapi.c b/epan/dissectors/packet-gssapi.c index 72d66aa716..49cd82f64a 100644 --- a/epan/dissectors/packet-gssapi.c +++ b/epan/dissectors/packet-gssapi.c @@ -117,10 +117,10 @@ dissect_gssapi_work(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, { proto_item *item; proto_tree *subtree; - volatile int return_offset = 0; + int return_offset = 0; gssapi_oid_value *value; - volatile dissector_handle_t handle; - conversation_t *volatile conversation; + dissector_handle_t handle; + conversation_t *conversation; tvbuff_t *oid_tvb; int len, offset, start_offset, oid_start_offset; gint8 class; @@ -256,14 +256,6 @@ dissect_gssapi_work(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, goto done; } - /* - * This is not needed, as the sub-dissector adds a tree - sub_item = proto_tree_add_item(subtree, value->proto, tvb, - offset, -1, FALSE); - - oid_subtree = proto_item_add_subtree(sub_item, value->ett); - */ - /* Save a pointer to the data for the OID for the * GSSAPI protocol for this conversation. */