aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ehdlc.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-01-31 17:55:31 +0000
committerBill Meier <wmeier@newsguy.com>2013-01-31 17:55:31 +0000
commitc439b805e20dd9dba744b3f7216c970c3591592e (patch)
tree290b43c090c6a125c690e472152e5f89f2538647 /epan/dissectors/packet-ehdlc.c
parent8ee3809edcc3a78004db5e3fad9808e1aded4838 (diff)
Comment out unused hf[] entries & etc.
(found by checkhf) svn path=/trunk/; revision=47389
Diffstat (limited to 'epan/dissectors/packet-ehdlc.c')
-rw-r--r--epan/dissectors/packet-ehdlc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ehdlc.c b/epan/dissectors/packet-ehdlc.c
index 7abdfcf78e..74f3e05a97 100644
--- a/epan/dissectors/packet-ehdlc.c
+++ b/epan/dissectors/packet-ehdlc.c
@@ -41,8 +41,8 @@ static int proto_ehdlc = -1;
static int hf_ehdlc_data_len = -1;
static int hf_ehdlc_protocol = -1;
-static int hf_ehdlc_sapi = -1;
-static int hf_ehdlc_c_r = -1;
+/* static int hf_ehdlc_sapi = -1; */
+/* static int hf_ehdlc_c_r = -1; */
static int hf_ehdlc_xid_payload = -1;
static int hf_ehdlc_control = -1;
@@ -217,6 +217,7 @@ proto_register_ehdlc(void)
FT_UINT8, BASE_HEX, VALS(ehdlc_protocol_vals), 0x0,
"The HDLC Sub-Protocol", HFILL }
},
+#if 0
{ &hf_ehdlc_sapi,
{ "SAPI", "ehdlc.sapi",
FT_UINT8, BASE_DEC, NULL, 0x1f,
@@ -227,6 +228,7 @@ proto_register_ehdlc(void)
FT_UINT8, BASE_HEX, NULL, 0x20,
NULL, HFILL }
},
+#endif
{ &hf_ehdlc_xid_payload,
{ "XID Payload", "ehdlc.xid_payload",
FT_BYTES, BASE_NONE, NULL, 0,