diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-01-26 18:54:53 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-01-26 18:54:53 +0000 |
commit | 0960e508e4fdac8449dec1a901c146b977e17b7f (patch) | |
tree | 56ca52ea32e5ca23f6df21eb4d8e6b9c43d698d0 /epan/dissectors/packet-ncp-nmas.c | |
parent | 33df8647d5c610b657d8c68b0982e4f95f348f99 (diff) |
Comment out cases of unused hf array entries found by checkhf.
svn path=/trunk/; revision=47302
Diffstat (limited to 'epan/dissectors/packet-ncp-nmas.c')
-rw-r--r-- | epan/dissectors/packet-ncp-nmas.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ncp-nmas.c b/epan/dissectors/packet-ncp-nmas.c index 15abdf8aa6..a48887608a 100644 --- a/epan/dissectors/packet-ncp-nmas.c +++ b/epan/dissectors/packet-ncp-nmas.c @@ -35,8 +35,8 @@ static gint ett_nmas = -1; static int proto_nmas = -1; -static int hf_func = -1; -static int hf_subfunc = -1; +/* static int hf_func = -1; */ +/* static int hf_subfunc = -1; */ static int hf_ping_version = -1; static int hf_ping_flags = -1; static int hf_frag_handle = -1; @@ -48,7 +48,7 @@ static int hf_nmas_version = -1; static int hf_msg_version = -1; static int hf_session_ident = -1; static int hf_msg_verb = -1; -static int hf_attribute = -1; +/* static int hf_attribute = -1; */ static int hf_clearance = -1; static int hf_login_sequence = -1; static int hf_opaque = -1; @@ -652,13 +652,17 @@ void proto_register_nmas(void) { static hf_register_info hf_nmas[] = { +/** { &hf_func, { "Function", "nmas.func", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, +**/ +/** { &hf_subfunc, { "Subfunction", "nmas.subfunc", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, +**/ { &hf_ping_version, { "Ping Version", "nmas.ping_version", FT_UINT32, BASE_HEX, NULL, 0x0, @@ -707,9 +711,11 @@ proto_register_nmas(void) { "Message Verb", "nmas.msg_verb", FT_UINT8, BASE_HEX, VALS(nmas_msgverb_enum), 0x0, NULL, HFILL }}, +/** { &hf_attribute, { "Attribute Type", "nmas.attribute", FT_UINT32, BASE_DEC, VALS(nmas_attribute_enum), 0x0, NULL, HFILL }}, +**/ { &hf_clearance, { "Requested Clearance", "nmas.clearance", |