aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-v5dl.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-02-03 22:29:48 +0000
committerBill Meier <wmeier@newsguy.com>2013-02-03 22:29:48 +0000
commit6549fbbad7f6e2bd8cb05b63e4fe7b98d77468d0 (patch)
tree16e4f196347be2fca882512fbb9b3f13e71f3c61 /epan/dissectors/packet-v5dl.c
parent7fa9cf92098e8547c38f8df7e71cf216228a8333 (diff)
#if 0 unused hf[] entries & etc.
Note: All (or almost all) unused hf[] entries in non-generated Wireshark dissectors have been #if 0'd (or commented) out. (This applies only to 'static hf_...' vars). A number of (non-generated) dissector files with *missing* hf[] entries still need to be fixed. svn path=/trunk/; revision=47459
Diffstat (limited to 'epan/dissectors/packet-v5dl.c')
-rw-r--r--epan/dissectors/packet-v5dl.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/epan/dissectors/packet-v5dl.c b/epan/dissectors/packet-v5dl.c
index 21d370da68..39e38abd9d 100644
--- a/epan/dissectors/packet-v5dl.c
+++ b/epan/dissectors/packet-v5dl.c
@@ -63,14 +63,15 @@ static int hf_v5dl_u_modifier_resp = -1;
static int hf_v5dl_ftype_i = -1;
static int hf_v5dl_ftype_s_u = -1;
static int hf_v5dl_ftype_s_u_ext = -1;
+#if 0
static int hf_v5dl_checksum = -1;
static int hf_v5dl_checksum_good = -1;
static int hf_v5dl_checksum_bad = -1;
-
+#endif
static gint ett_v5dl = -1;
static gint ett_v5dl_address = -1;
static gint ett_v5dl_control = -1;
-static gint ett_v5dl_checksum = -1;
+/* static gint ett_v5dl_checksum = -1; */
static dissector_handle_t v52_handle;
@@ -406,6 +407,7 @@ proto_register_v5dl(void)
{ "Frame type", "v5dl.control.ftype", FT_UINT16, BASE_HEX,
VALS(ftype_vals), XDLC_S_U_MASK, NULL, HFILL }},
+#if 0
{ &hf_v5dl_checksum,
{ "Checksum", "v5dl.checksum", FT_UINT16, BASE_HEX,
NULL, 0x0, "Details at: http://www.wireshark.org/docs/wsug_html_chunked/ChAdvChecksums.html", HFILL }},
@@ -417,13 +419,14 @@ proto_register_v5dl(void)
{ &hf_v5dl_checksum_bad,
{ "Bad Checksum", "v5dl.checksum_bad", FT_BOOLEAN, BASE_NONE,
NULL, 0x0, "True: checksum doesn't match packet content; False: matches content or not checked", HFILL }}
+#endif
};
static gint *ett[] = {
&ett_v5dl,
&ett_v5dl_address,
&ett_v5dl_control,
- &ett_v5dl_checksum
+ /* &ett_v5dl_checksum */
};
proto_v5dl = proto_register_protocol("V5 Data Link Layer",