aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h248_2.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-h248_2.c
parent8ee3809edcc3a78004db5e3fad9808e1aded4838 (diff)
Comment out unused hf[] entries & etc.
(found by checkhf) svn path=/trunk/; revision=47389
Diffstat (limited to 'epan/dissectors/packet-h248_2.c')
-rw-r--r--epan/dissectors/packet-h248_2.c32
1 files changed, 17 insertions, 15 deletions
diff --git a/epan/dissectors/packet-h248_2.c b/epan/dissectors/packet-h248_2.c
index 167c75d20f..afadecfb36 100644
--- a/epan/dissectors/packet-h248_2.c
+++ b/epan/dissectors/packet-h248_2.c
@@ -37,7 +37,7 @@
static int proto_h248_2 = -1;
-static int hf_h248_2_dtone_evt = -1;
+/* static int hf_h248_2_dtone_evt = -1; */
static int hf_h248_2_dtone_dtt_obs_evt = -1;
static int hf_h248_2_dtone_dtt_obs_evt_val = -1;
@@ -106,12 +106,12 @@ static const h248_package_t h248_pkg_ctype = {
0x0011, /* Id */
&proto_h248_2, /* hfid */
&ett_h248_2, /* ett */
-
+
NULL, /* value_string param_names */
NULL, /* value_string signal_names */
h248_2_ctype_events_vals, /* value_string event_names */
NULL, /* value_string stats_names */
-
+
NULL, /* properties */
NULL, /* signals */
h248_pkg_generic_cause_evts, /* events */
@@ -120,24 +120,26 @@ static const h248_package_t h248_pkg_ctype = {
void proto_register_h248_dot2(void) {
static hf_register_info hf[] = {
- { &hf_h248_2_dtone_evt,
- { "Discriminating Tone Type", "h248.2.dtt",
- FT_BYTES, BASE_NONE, NULL, 0,
+#if 0
+ { &hf_h248_2_dtone_evt,
+ { "Discriminating Tone Type", "h248.2.dtt",
+ FT_BYTES, BASE_NONE, NULL, 0,
NULL, HFILL }
},
- { &hf_h248_2_dtone_dtt_obs_evt,
- { "Discriminating Tone Type(dtt)", "h248.2.dtt",
- FT_BYTES, BASE_NONE, NULL, 0,
- NULL, HFILL }
+ { &hf_h248_2_dtone_dtt_obs_evt,
+ { "Discriminating Tone Type(dtt)", "h248.2.dtt",
+ FT_BYTES, BASE_NONE, NULL, 0,
+ NULL, HFILL },
},
- { &hf_h248_2_dtone_dtt_obs_evt_val,
- { "call type", "h248.2.dtt.val",
- FT_UINT32, BASE_DEC, VALS(hf_h248_2_dtone_dtt_obs_evt_val_values) , 0,
+#endif
+ { &hf_h248_2_dtone_dtt_obs_evt_val,
+ { "call type", "h248.2.dtt.val",
+ FT_UINT32, BASE_DEC, VALS(hf_h248_2_dtone_dtt_obs_evt_val_values) , 0,
NULL, HFILL }
},
};
-
+
static gint *ett[] = {
&ett_h248_2,
&ett_h248_2_dtone_dtt_obs_evt,
@@ -148,7 +150,7 @@ void proto_register_h248_dot2(void) {
proto_register_field_array(proto_h248_2, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
-
+
h248_register_package(&h248_pkg_ctype,MERGE_PKG_HIGH);
}