remove a comment with dead code
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 2 Sep 2006 00:24:31 +0000 (00:24 +0000)
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 2 Sep 2006 00:24:31 +0000 (00:24 +0000)
remove three pointless volatile declarations

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19111 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-gssapi.c

index 72d66aa71677b39f9dd87f65bc8157688b335555..49cd82f64a71c96cfca87206220e1691a8c83ade 100644 (file)
@@ -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.
                 */