aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sbus.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-sbus.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-sbus.c')
-rw-r--r--epan/dissectors/packet-sbus.c20
1 files changed, 15 insertions, 5 deletions
diff --git a/epan/dissectors/packet-sbus.c b/epan/dissectors/packet-sbus.c
index 4904574ae6..fc0263b63f 100644
--- a/epan/dissectors/packet-sbus.c
+++ b/epan/dissectors/packet-sbus.c
@@ -230,11 +230,11 @@ static int hf_sbus_sysinfo0_2 = -1;
static int hf_sbus_sysinfo0_3 = -1;
static int hf_sbus_sysinfo0_4 = -1;
static int hf_sbus_sysinfo0_5 = -1;
-static int hf_sbus_sysinfo_length = -1;
-static int hf_sbus_f_module_type = -1;
-static int hf_sbus_harware_version = -1;
-static int hf_sbus_hardware_modification = -1;
-static int hf_sbus_various = -1;
+/* static int hf_sbus_sysinfo_length = -1; */
+/* static int hf_sbus_f_module_type = -1; */
+/* static int hf_sbus_harware_version = -1; */
+/* static int hf_sbus_hardware_modification = -1; */
+/* static int hf_sbus_various = -1; */
static int hf_sbus_acknackcode = -1;
static int hf_sbus_cpu_status = -1;
static int hf_sbus_week_day = -1;
@@ -2100,35 +2100,45 @@ proto_register_sbus(void)
"Availability of PGU baud switch feature", HFILL }
},
+/**
{ &hf_sbus_sysinfo_length,
{ "System information length", "sbus.sysinfo_length",
FT_UINT8, BASE_HEX, NULL, 0,
"System information length in response", HFILL }
},
+**/
+/**
{ &hf_sbus_f_module_type,
{ "F-module type", "sbus.fmodule_type",
FT_STRING, BASE_NONE, NULL, 0,
"Module type mounted on B1/2 slot", HFILL }
},
+**/
+/**
{ &hf_sbus_harware_version,
{ "Hardware version", "sbus.hw_version",
FT_STRING, BASE_NONE, NULL, 0,
"Hardware version of the PCD or the module", HFILL }
},
+**/
+/**
{ &hf_sbus_hardware_modification,
{ "Hardware modification", "sbus.hw_modification",
FT_UINT8, BASE_DEC, NULL, 0,
"Hardware modification of the PCD or module", HFILL }
},
+**/
+/**
{ &hf_sbus_various,
{ "Various data", "sbus.various",
FT_NONE, BASE_NONE, NULL, 0,
"Various data contained in telegrams but nobody will search for it", HFILL }
},
+**/
{ &hf_sbus_acknackcode,
{ "ACK/NAK code", "sbus.nakcode",