aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bittorrent.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-bittorrent.c
parent8ee3809edcc3a78004db5e3fad9808e1aded4838 (diff)
Comment out unused hf[] entries & etc.
(found by checkhf) svn path=/trunk/; revision=47389
Diffstat (limited to 'epan/dissectors/packet-bittorrent.c')
-rw-r--r--epan/dissectors/packet-bittorrent.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bittorrent.c b/epan/dissectors/packet-bittorrent.c
index ffc7d8c4f6..ab2f6b122c 100644
--- a/epan/dissectors/packet-bittorrent.c
+++ b/epan/dissectors/packet-bittorrent.c
@@ -129,7 +129,7 @@ static const struct amp_message amp_messages[] = {
static dissector_handle_t dissector_handle;
static int proto_bittorrent = -1;
-static gint hf_bittorrent_field_length = -1;
+/* static gint hf_bittorrent_field_length = -1; */
static gint hf_bittorrent_prot_name_len = -1;
static gint hf_bittorrent_prot_name = -1;
static gint hf_bittorrent_reserved = -1;
@@ -848,9 +848,11 @@ void
proto_register_bittorrent(void)
{
static hf_register_info hf[] = {
+#if 0
{ &hf_bittorrent_field_length,
{ "Field Length", "bittorrent.length", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL }
},
+#endif
{ &hf_bittorrent_prot_name_len,
{ "Protocol Name Length", "bittorrent.protocol.name.length", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL }
},