summaryrefslogtreecommitdiff
path: root/plugins/ethercat/packet-ecatmb.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-02-10 20:52:21 +0000
committerBill Meier <wmeier@newsguy.com>2013-02-10 20:52:21 +0000
commitf784806968373d1ec939a18ffe5ef8727d4dbadf (patch)
treeadaccfc17a91bfce6628f1f7d0326f6d2badb4e5 /plugins/ethercat/packet-ecatmb.c
parent0a20c5dd913ee49a4faf9ed5d868e308949eb450 (diff)
downloadwireshark-f784806968373d1ec939a18ffe5ef8727d4dbadf.tar.gz
Comment out numerous unused hf_.... instances found by checkhf.
svn path=/trunk/; revision=47617
Diffstat (limited to 'plugins/ethercat/packet-ecatmb.c')
-rw-r--r--plugins/ethercat/packet-ecatmb.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/ethercat/packet-ecatmb.c b/plugins/ethercat/packet-ecatmb.c
index 3ab266c3f4..46c8995bf5 100644
--- a/plugins/ethercat/packet-ecatmb.c
+++ b/plugins/ethercat/packet-ecatmb.c
@@ -114,7 +114,7 @@ static int hf_ecat_mailbox_coe_sdoccsds_toggle = -1;
static int hf_ecat_mailbox_coe_sdoccsus = -1;
static int hf_ecat_mailbox_coe_sdoccsus_toggle = -1;
static int hf_ecat_mailbox_coe_sdoccsiu = -1;
-static int hf_ecat_mailbox_coe_sdoccsiu_complete = -1;
+/* static int hf_ecat_mailbox_coe_sdoccsiu_complete = -1; */
static int hf_ecat_mailbox_coe_sdoidx = -1;
static int hf_ecat_mailbox_coe_sdosub = -1;
static int hf_ecat_mailbox_coe_sdodata = -1;
@@ -122,7 +122,7 @@ static int hf_ecat_mailbox_coe_sdodata1 = -1;
static int hf_ecat_mailbox_coe_sdodata2 = -1;
static int hf_ecat_mailbox_coe_sdoldata = -1;
static int hf_ecat_mailbox_coe_sdolength = -1;
-static int hf_ecat_mailbox_coe_sdoerror = -1;
+/* static int hf_ecat_mailbox_coe_sdoerror = -1; */
static int hf_ecat_mailbox_coe_sdores = -1;
static int hf_ecat_mailbox_coe_sdoscsds = -1;
static int hf_ecat_mailbox_coe_sdoscsds_toggle = -1;
@@ -1673,11 +1673,13 @@ void proto_register_ecat_mailbox(void)
FT_UINT8, BASE_HEX, NULL, 0x0,
NULL, HFILL }
},
+#if 0
{ &hf_ecat_mailbox_coe_sdoccsiu_complete,
{ "Toggle Bit", "ecat_mailbox.coe.sdoccsiu_complete",
FT_BOOLEAN, 8, TFS(&flags_set_truth), 0x00000010,
NULL, HFILL }
},
+#endif
{ &hf_ecat_mailbox_coe_sdoccsus,
{ "Upload Segment", "ecat_mailbox.coe.sdoccsus",
FT_UINT8, BASE_HEX, NULL, 0x0,
@@ -1724,11 +1726,13 @@ void proto_register_ecat_mailbox(void)
FT_UINT32, BASE_HEX, NULL, 0x0,
NULL, HFILL }
},
+#if 0
{ &hf_ecat_mailbox_coe_sdoerror,
{ "SDO Error", "ecat_mailbox.coe.sdoerror",
FT_UINT32, BASE_HEX, NULL, 0x0,
NULL, HFILL }
},
+#endif
{ &hf_ecat_mailbox_coe_sdores,
{ "SDO Res", "ecat_mailbox.coe.sdores",
FT_UINT8, BASE_DEC, NULL, 0x0,