aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ndps.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-01-26 18:54:53 +0000
committerBill Meier <wmeier@newsguy.com>2013-01-26 18:54:53 +0000
commit0960e508e4fdac8449dec1a901c146b977e17b7f (patch)
tree56ca52ea32e5ca23f6df21eb4d8e6b9c43d698d0 /epan/dissectors/packet-ndps.c
parent33df8647d5c610b657d8c68b0982e4f95f348f99 (diff)
Comment out cases of unused hf array entries found by checkhf.
svn path=/trunk/; revision=47302
Diffstat (limited to 'epan/dissectors/packet-ndps.c')
-rw-r--r--epan/dissectors/packet-ndps.c40
1 files changed, 30 insertions, 10 deletions
diff --git a/epan/dissectors/packet-ndps.c b/epan/dissectors/packet-ndps.c
index 8a10c1f4af..581995e700 100644
--- a/epan/dissectors/packet-ndps.c
+++ b/epan/dissectors/packet-ndps.c
@@ -80,11 +80,11 @@ static int hf_ndps_length = -1;
static int hf_ndps_xid = -1;
static int hf_ndps_packet_type = -1;
static int hf_ndps_rpc_version = -1;
-static int hf_ndps_error = -1;
+/* static int hf_ndps_error = -1; */
static int hf_ndps_num_objects = -1;
static int hf_ndps_num_attributes = -1;
-static int hf_ndps_sbuffer = -1;
-static int hf_ndps_rbuffer = -1;
+/* static int hf_ndps_sbuffer = -1; */
+/* static int hf_ndps_rbuffer = -1; */
static int hf_ndps_user_name = -1;
static int hf_ndps_broker_name = -1;
static int hf_ndps_num_results = -1;
@@ -200,7 +200,7 @@ static int hf_ndps_item_ptr = -1;
static int hf_ndps_len = -1;
static int hf_ndps_limit_enc = -1;
static int hf_ndps_delivery_add_count = -1;
-static int hf_ndps_qualified_name2 = -1;
+/* static int hf_ndps_qualified_name2 = -1; */
static int hf_ndps_delivery_add_type = -1;
static int hf_ndps_criterion_type = -1;
static int hf_ndps_num_ignored_attributes = -1;
@@ -230,8 +230,8 @@ static int hf_ndps_attrs_arg = -1;
static int hf_ndps_context_len = -1;
static int hf_ndps_context = -1;
static int hf_ndps_filter = -1;
-static int hf_ndps_item_filter = -1;
-static int hf_ndps_substring_match = -1;
+/* static int hf_ndps_item_filter = -1; */
+/* static int hf_ndps_substring_match = -1; */
static int hf_ndps_time_limit = -1;
static int hf_ndps_count_limit = -1;
static int hf_ndps_operator = -1;
@@ -254,7 +254,7 @@ static int hf_font_type = -1;
static int hf_printer_id = -1;
static int hf_ndps_font_name = -1;
static int hf_ndps_return_code = -1;
-static int hf_ndps_banner_count = -1;
+/* static int hf_ndps_banner_count = -1; */
static int hf_ndps_banner_name = -1;
static int hf_ndps_font_type_count = -1;
static int hf_font_type_name = -1;
@@ -276,7 +276,7 @@ static int hf_res_type = -1;
static int hf_file_timestamp = -1;
static int hf_sub_complete = -1;
static int hf_doc_content = -1;
-static int hf_ndps_doc_name = -1;
+/* static int hf_ndps_doc_name = -1; */
static int hf_print_arg = -1;
static int hf_local_id = -1;
static int hf_ndps_included_doc_len = -1;
@@ -309,7 +309,7 @@ static int hf_info_int16 = -1;
static int hf_info_int32 = -1;
static int hf_info_boolean = -1;
static int hf_info_string = -1;
-static int hf_info_bytes = -1;
+/* static int hf_info_bytes = -1; */
static int hf_ndps_list_local_servers_type = -1;
static int hf_ndps_registry_name = -1;
static int hf_ndps_client_server_type = -1;
@@ -335,7 +335,7 @@ static int hf_ndps_object_ids_13 = -1;
static int hf_ndps_object_ids_14 = -1;
static int hf_ndps_object_ids_15 = -1;
static int hf_ndps_object_ids_16 = -1;
-static int hf_ndps_attribute_time = -1;
+/* static int hf_ndps_attribute_time = -1; */
static int hf_print_security = -1;
static int hf_notify_time_interval = -1;
static int hf_notify_sequence_number = -1;
@@ -8353,10 +8353,12 @@ proto_register_ndps(void)
FT_UINT32, BASE_DEC, NULL, 0x0,
NULL, HFILL }},
+/**
{ &hf_ndps_error,
{ "NDPS Error", "spx.ndps_error",
FT_UINT32, BASE_HEX, NULL, 0x0,
NULL, HFILL }},
+**/
{ &hf_ndps_other_error_string,
{ "Extended Error String", "ndps.ext_err_string",
@@ -8403,15 +8405,19 @@ proto_register_ndps(void)
FT_UINT32, BASE_DEC, NULL, 0x0,
NULL, HFILL }},
+/**
{ &hf_ndps_sbuffer,
{ "Server", "ndps.sbuffer",
FT_UINT32, BASE_DEC, NULL, 0x0,
NULL, HFILL }},
+**/
+/**
{ &hf_ndps_rbuffer,
{ "Connection", "ndps.rbuffer",
FT_UINT32, BASE_DEC, NULL, 0x0,
NULL, HFILL }},
+**/
{ &hf_ndps_user_name,
{ "Trustee Name", "ndps.user_name",
@@ -8598,10 +8604,12 @@ proto_register_ndps(void)
FT_UINT32, BASE_HEX, VALS(qualified_name_enum), 0x0,
NULL, HFILL }},
+/**
{ &hf_ndps_qualified_name2,
{ "Qualified Name Type", "ndps.qual_name_type2",
FT_UINT32, BASE_HEX, VALS(qualified_name_enum2), 0x0,
NULL, HFILL }},
+**/
{ &hf_ndps_item_count,
{ "Number of Items", "ndps.item_count",
@@ -9138,15 +9146,19 @@ proto_register_ndps(void)
FT_UINT32, BASE_HEX, VALS(ndps_filter_enum), 0x0,
NULL, HFILL }},
+/**
{ &hf_ndps_item_filter,
{ "Filter Item Operation", "ndps.filter_item",
FT_UINT32, BASE_HEX, VALS(ndps_filter_item_enum), 0x0,
NULL, HFILL }},
+**/
+/**
{ &hf_ndps_substring_match,
{ "Substring Match", "ndps.substring_match",
FT_UINT32, BASE_HEX, VALS(ndps_match_criteria_enum), 0x0,
NULL, HFILL }},
+**/
{ &hf_ndps_time_limit,
{ "Time Limit", "ndps.time_limit",
@@ -9258,10 +9270,12 @@ proto_register_ndps(void)
FT_UINT32, BASE_HEX, VALS(ndps_error_types), 0x0,
NULL, HFILL }},
+/**
{ &hf_ndps_banner_count,
{ "Number of Banners", "ndps.banner_count",
FT_UINT32, BASE_DEC, NULL, 0x0,
NULL, HFILL }},
+**/
{ &hf_ndps_banner_name,
{ "Banner Name", "ndps.banner_name",
@@ -9409,10 +9423,12 @@ proto_register_ndps(void)
FT_UINT32, BASE_DEC, VALS(ndps_doc_content_enum), 0x0,
NULL, HFILL }},
+/**
{ &hf_ndps_doc_name,
{ "Document Name", "ndps.doc_name",
FT_STRING, BASE_NONE, NULL, 0x0,
NULL, HFILL }},
+**/
{ &hf_local_id,
{ "Local ID", "ndps.local_id",
@@ -9569,10 +9585,12 @@ proto_register_ndps(void)
FT_STRING, BASE_NONE, NULL, 0x0,
NULL, HFILL }},
+/**
{ &hf_info_bytes,
{ "Byte Value", "ndps.info_bytes",
FT_BYTES, BASE_NONE, NULL, 0x0,
NULL, HFILL }},
+**/
{ &hf_ndps_list_local_servers_type,
{ "Server Type", "ndps.list_local_server_type",
@@ -9699,10 +9717,12 @@ proto_register_ndps(void)
FT_NONE, BASE_NONE, NULL,
0x0, NULL, HFILL }},
+/**
{ &hf_ndps_attribute_time,
{ "Time", "ndps.attribute_time",
FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0x0,
NULL, HFILL }},
+**/
{ &hf_print_security,
{ "Printer Security", "ndps.print_security",