diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-02-10 20:52:21 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-02-10 20:52:21 +0000 |
commit | f784806968373d1ec939a18ffe5ef8727d4dbadf (patch) | |
tree | adaccfc17a91bfce6628f1f7d0326f6d2badb4e5 /plugins/irda | |
parent | 0a20c5dd913ee49a4faf9ed5d868e308949eb450 (diff) |
Comment out numerous unused hf_.... instances found by checkhf.
svn path=/trunk/; revision=47617
Diffstat (limited to 'plugins/irda')
-rw-r--r-- | plugins/irda/packet-ircomm.c | 8 | ||||
-rw-r--r-- | plugins/irda/packet-sir.c | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/plugins/irda/packet-ircomm.c b/plugins/irda/packet-ircomm.c index f0921671e6..a894181d16 100644 --- a/plugins/irda/packet-ircomm.c +++ b/plugins/irda/packet-ircomm.c @@ -129,9 +129,9 @@ static dissector_handle_t data_handle; static int proto_ircomm = -1; static int hf_ircomm_param = -1; -static int hf_param_pi = -1; -static int hf_param_pl = -1; -static int hf_param_pv = -1; +/* static int hf_param_pi = -1; */ +/* static int hf_param_pl = -1; */ +/* static int hf_param_pv = -1; */ static int hf_control = -1; static int hf_control_len = -1; @@ -377,6 +377,7 @@ void proto_register_ircomm(void) { "IrCOMM Parameter", "ircomm.parameter", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, +#if 0 { &hf_param_pi, { "Parameter Identifier", "ircomm.pi", FT_UINT8, BASE_HEX, NULL, 0, @@ -389,6 +390,7 @@ void proto_register_ircomm(void) { "Parameter Value", "ircomm.pv", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }}, +#endif { &hf_control, { "Control Channel", "ircomm.control", FT_NONE, BASE_NONE, NULL, 0, diff --git a/plugins/irda/packet-sir.c b/plugins/irda/packet-sir.c index 8813ec73b5..359ea32635 100644 --- a/plugins/irda/packet-sir.c +++ b/plugins/irda/packet-sir.c @@ -54,7 +54,7 @@ static dissector_handle_t irda_handle; static int proto_sir = -1; static int ett_sir = -1; static int hf_sir_bof = -1; -static int hf_sir_ce = -1; +/* static int hf_sir_ce = -1; */ static int hf_sir_eof = -1; static int hf_sir_fcs = -1; static int hf_sir_fcs_bad = -1; @@ -198,10 +198,12 @@ proto_register_irsir(void) { "Beginning of frame", "sir.bof", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, +#if 0 { &hf_sir_ce, { "Command escape", "sir.ce", FT_UINT8, BASE_HEX, NULL, 0, NULL, HFILL }}, +#endif { &hf_sir_eof, { "End of frame", "sir.eof", FT_UINT8, BASE_HEX, NULL, 0, |