diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-01-26 22:43:34 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-01-26 22:43:34 +0000 |
commit | c929e42eb41a34045bf15457b1b5175e01ae2055 (patch) | |
tree | 11c03af186546c71e579918ab9fa3c0d424071c4 /epan/dissectors/packet-mp2t.c | |
parent | 38dbf79f14b15214fc62e1258f12453363be84b0 (diff) |
Fix various instances of unused hf[] entries found
by checkhf.
svn path=/trunk/; revision=47312
Diffstat (limited to 'epan/dissectors/packet-mp2t.c')
-rw-r--r-- | epan/dissectors/packet-mp2t.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mp2t.c b/epan/dissectors/packet-mp2t.c index 99ee79259c..473c8a1fb2 100644 --- a/epan/dissectors/packet-mp2t.c +++ b/epan/dissectors/packet-mp2t.c @@ -71,7 +71,7 @@ static int hf_mp2t_afc = -1; static int hf_mp2t_cc = -1; static int hf_mp2t_cc_drop = -1; -static int hf_mp2t_analysis_flags = -1; +/* static int hf_mp2t_analysis_flags = -1; */ static int hf_mp2t_analysis_skips = -1; static int hf_mp2t_analysis_drops = -1; @@ -157,7 +157,7 @@ static int hf_mp2t_af_e_m_2 = -1; static int hf_mp2t_af_e_dnau_14_0 = -1; static int hf_mp2t_af_e_m_3 = -1; -static int hf_mp2t_payload = -1; +/* static int hf_mp2t_payload = -1; */ static int hf_mp2t_stuff_bytes = -1; @@ -1338,11 +1338,13 @@ proto_register_mp2t(void) "Continuity Counter Drops", "mp2t.cc.drop", FT_NONE, BASE_NONE, NULL, 0x0, NULL, HFILL } } , +/** { &hf_mp2t_analysis_flags, { "MPEG2-TS Analysis Flags", "mp2t.analysis.flags", FT_NONE, BASE_NONE, NULL, 0x0, "This frame has some of the MPEG2 analysis flags set", HFILL } } , +**/ { &hf_mp2t_analysis_skips, { "TS Continuity Counter Skips", "mp2t.analysis.skips", FT_UINT8, BASE_DEC, NULL, 0x0, @@ -1485,10 +1487,12 @@ proto_register_mp2t(void) "Marker Bit", "mp2t.af.e.m_3", FT_UINT16, BASE_DEC, NULL, 0x0001, NULL, HFILL } } , +/** { &hf_mp2t_payload, { "Payload", "mp2t.payload", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL } } , +**/ { &hf_mp2t_stuff_bytes, { "Stuffing", "mp2t.stuff_bytes", FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL |