diff options
author | Bill Meier <wmeier@newsguy.com> | 2013-01-31 17:55:31 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2013-01-31 17:55:31 +0000 |
commit | c439b805e20dd9dba744b3f7216c970c3591592e (patch) | |
tree | 290b43c090c6a125c690e472152e5f89f2538647 /epan/dissectors/packet-ccsds.c | |
parent | 8ee3809edcc3a78004db5e3fad9808e1aded4838 (diff) |
Comment out unused hf[] entries & etc.
(found by checkhf)
svn path=/trunk/; revision=47389
Diffstat (limited to 'epan/dissectors/packet-ccsds.c')
-rw-r--r-- | epan/dissectors/packet-ccsds.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ccsds.c b/epan/dissectors/packet-ccsds.c index 0a56ec22f1..2efe5f1c55 100644 --- a/epan/dissectors/packet-ccsds.c +++ b/epan/dissectors/packet-ccsds.c @@ -68,14 +68,14 @@ static int hf_ccsds_vid = -1; static int hf_ccsds_dcc = -1; /* core specific ccsds secondary header */ -static int hf_ccsds_spare1 = -1; +/* static int hf_ccsds_spare1 = -1; */ static int hf_ccsds_packet_type = -1; -static int hf_ccsds_spare2 = -1; +/* static int hf_ccsds_spare2 = -1; */ static int hf_ccsds_element_id = -1; static int hf_ccsds_cmd_data_packet = -1; static int hf_ccsds_format_version_id = -1; static int hf_ccsds_extended_format_id = -1; -static int hf_ccsds_spare3 = -1; +/* static int hf_ccsds_spare3 = -1; */ static int hf_ccsds_frame_id = -1; /* ccsds checkword (checksum) */ @@ -587,21 +587,25 @@ proto_register_ccsds(void) /* core specific ccsds secondary header flags */ +#if 0 { &hf_ccsds_spare1, { "Spare Bit 1", "ccsds.spare1", FT_UINT8, BASE_DEC, NULL, 0x10, "unused spare bit 1", HFILL } }, +#endif { &hf_ccsds_packet_type, { "Packet Type", "ccsds.packet_type", FT_UINT8, BASE_DEC, VALS(ccsds_secondary_header_packet_type), 0x0f, NULL, HFILL } }, +#if 0 { &hf_ccsds_spare2, { "Spare Bit 2", "ccsds.spare2", FT_UINT16, BASE_DEC, NULL, 0x8000, NULL, HFILL } }, +#endif { &hf_ccsds_element_id, { "Element ID", "ccsds.element_id", FT_UINT16, BASE_DEC, VALS(ccsds_secondary_header_element_id), 0x7800, @@ -622,11 +626,13 @@ proto_register_ccsds(void) FT_UINT16, BASE_DEC, VALS(ccsds_secondary_header_format_id), 0x003f, NULL, HFILL } }, +#if 0 { &hf_ccsds_spare3, { "Spare Bits 3", "ccsds.spare3", FT_UINT8, BASE_DEC, NULL, 0xff, NULL, HFILL } }, +#endif { &hf_ccsds_frame_id, { "Frame ID", "ccsds.frame_id", FT_UINT8, BASE_DEC, NULL, 0xff, |