diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-01-26 18:54:53 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-01-26 18:54:53 +0000 |
commit | 0960e508e4fdac8449dec1a901c146b977e17b7f (patch) | |
tree | 56ca52ea32e5ca23f6df21eb4d8e6b9c43d698d0 /epan/dissectors/packet-pppoe.c | |
parent | 33df8647d5c610b657d8c68b0982e4f95f348f99 (diff) |
Comment out cases of unused hf array entries found by checkhf.
svn path=/trunk/; revision=47302
Diffstat (limited to 'epan/dissectors/packet-pppoe.c')
-rw-r--r-- | epan/dissectors/packet-pppoe.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/epan/dissectors/packet-pppoe.c b/epan/dissectors/packet-pppoe.c index 65501c5c99..579a70c6fe 100644 --- a/epan/dissectors/packet-pppoe.c +++ b/epan/dissectors/packet-pppoe.c @@ -101,8 +101,8 @@ static gint hf_pppoed_tag_generic_error = -1; /* Session protocol fields */ static gint hf_pppoes_tags = -1; -static gint hf_pppoes_tag = -1; -static gint hf_pppoes_tag_credits = -1; +/* static gint hf_pppoes_tag = -1; */ +/* static gint hf_pppoes_tag_credits = -1; */ static gint hf_pppoes_tag_credits_fcn = -1; static gint hf_pppoes_tag_credits_bcn = -1; @@ -1214,16 +1214,20 @@ void proto_register_pppoes(void) NULL, 0x0, NULL, HFILL } }, +/** { &hf_pppoes_tag, { "Tag", "pppoes.tag", FT_UINT16, BASE_HEX, VALS(tag_vals), 0x0, NULL, HFILL } }, +**/ +/** { &hf_pppoes_tag_credits, { "Credits", "pppoes.tags.credits", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } }, +**/ { &hf_pppoes_tag_credits_fcn, { "FCN", "pppoes.tags.credits.fcn", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL |