diff --git a/epan/conversation_table.c b/epan/conversation_table.c index 5ae0e81138..b02d6e558b 100644 --- a/epan/conversation_table.c +++ b/epan/conversation_table.c @@ -169,7 +169,6 @@ set_conv_gui_data(gpointer data, gpointer user_data) ui_info.title = NULL; /* construct this from the protocol info? */ ui_info.cli_string = g_string_free(conv_cmd_str, FALSE); ui_info.tap_init_cb = dissector_conversation_init; - ui_info.index = -1; ui_info.nparams = 0; ui_info.params = NULL; register_stat_tap_ui(&ui_info, table); @@ -194,7 +193,6 @@ set_host_gui_data(gpointer data, gpointer user_data) ui_info.title = NULL; /* construct this from the protocol info? */ ui_info.cli_string = g_string_free(host_cmd_str, FALSE); ui_info.tap_init_cb = dissector_hostlist_init; - ui_info.index = -1; ui_info.nparams = 0; ui_info.params = NULL; register_stat_tap_ui(&ui_info, table); diff --git a/epan/stat_tap_ui.h b/epan/stat_tap_ui.h index 359cf4bf9a..0452b97049 100644 --- a/epan/stat_tap_ui.h +++ b/epan/stat_tap_ui.h @@ -60,7 +60,6 @@ typedef struct _stat_tap_ui { const char *title; /* title of statistic */ const char *cli_string; /* initial part of the "-z" argument for statistic */ void (* tap_init_cb)(const char *, void*); /* callback to init function of the tap */ - gint index; /* initiate this value always with "-1" */ size_t nparams; /* number of parameters */ tap_param *params; /* pointer to table of parameter info */ } stat_tap_ui; diff --git a/epan/wslua/wslua_util.c b/epan/wslua/wslua_util.c index 2b53d9f91e..cef3daf870 100644 --- a/epan/wslua/wslua_util.c +++ b/epan/wslua/wslua_util.c @@ -275,7 +275,6 @@ WSLUA_FUNCTION wslua_register_stat_cmd_arg(lua_State* L) { ui_info.title = NULL; ui_info.cli_string = arg; ui_info.tap_init_cb = statcmd_init; - ui_info.index = -1; ui_info.nparams = 0; ui_info.params = NULL; register_stat_tap_ui(&ui_info, sc); diff --git a/ui/cli/tap-afpstat.c b/ui/cli/tap-afpstat.c index f6bfb82aa9..67536e4213 100644 --- a/ui/cli/tap-afpstat.c +++ b/ui/cli/tap-afpstat.c @@ -160,7 +160,6 @@ static stat_tap_ui afpstat_ui = { NULL, "afp,srt", afpstat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-ansi_astat.c b/ui/cli/tap-ansi_astat.c index c5a68a5bf9..4e9553403c 100644 --- a/ui/cli/tap-ansi_astat.c +++ b/ui/cli/tap-ansi_astat.c @@ -158,7 +158,6 @@ static stat_tap_ui ansi_a_stat_ui = { NULL, "ansi_a", ansi_a_stat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-bootpstat.c b/ui/cli/tap-bootpstat.c index 88e2a49bde..00ead042c9 100644 --- a/ui/cli/tap-bootpstat.c +++ b/ui/cli/tap-bootpstat.c @@ -179,7 +179,6 @@ static stat_tap_ui dhcpstat_ui = { NULL, "bootp,stat", dhcpstat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-camelcounter.c b/ui/cli/tap-camelcounter.c index e0bca3263c..6013a1e772 100644 --- a/ui/cli/tap-camelcounter.c +++ b/ui/cli/tap-camelcounter.c @@ -124,7 +124,6 @@ static stat_tap_ui camelcounter_ui = { NULL, "camel,counter", camelcounter_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-camelsrt.c b/ui/cli/tap-camelsrt.c index 73aaff2073..6277d357d8 100644 --- a/ui/cli/tap-camelsrt.c +++ b/ui/cli/tap-camelsrt.c @@ -254,7 +254,6 @@ static stat_tap_ui camelsrt_ui = { NULL, "camel,srt", camelsrt_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-comparestat.c b/ui/cli/tap-comparestat.c index d98fee2103..cb5e4377ef 100644 --- a/ui/cli/tap-comparestat.c +++ b/ui/cli/tap-comparestat.c @@ -579,7 +579,6 @@ static stat_tap_ui comparestat_ui = { NULL, "compare", comparestat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-dcerpcstat.c b/ui/cli/tap-dcerpcstat.c index ce0233e491..0c1319d2b4 100644 --- a/ui/cli/tap-dcerpcstat.c +++ b/ui/cli/tap-dcerpcstat.c @@ -293,7 +293,6 @@ static stat_tap_ui dcerpcstat_ui = { NULL, "dcerpc,srt", dcerpcstat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-diameter-avp.c b/ui/cli/tap-diameter-avp.c index c93b1744d7..f611fd1afe 100644 --- a/ui/cli/tap-diameter-avp.c +++ b/ui/cli/tap-diameter-avp.c @@ -272,7 +272,6 @@ static stat_tap_ui diameteravp_ui = { NULL, "diameter,avp", diameteravp_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-expert.c b/ui/cli/tap-expert.c index 4acdcd1692..b16c3a9b4a 100644 --- a/ui/cli/tap-expert.c +++ b/ui/cli/tap-expert.c @@ -269,7 +269,6 @@ static stat_tap_ui expert_stat_ui = { NULL, "expert", expert_stat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-follow.c b/ui/cli/tap-follow.c index d9f4f0d610..a658f4170a 100644 --- a/ui/cli/tap-follow.c +++ b/ui/cli/tap-follow.c @@ -1006,7 +1006,6 @@ static stat_tap_ui followTcp_ui = { NULL, STR_FOLLOW_TCP, followTcp, - -1, 0, NULL }; @@ -1016,7 +1015,6 @@ static stat_tap_ui followUdp_ui = { NULL, STR_FOLLOW_UDP, followUdp, - -1, 0, NULL }; @@ -1026,7 +1024,6 @@ static stat_tap_ui followSsl_ui = { NULL, STR_FOLLOW_SSL, followSsl, - -1, 0, NULL }; diff --git a/ui/cli/tap-funnel.c b/ui/cli/tap-funnel.c index 1d0ed303be..0c79d89b97 100644 --- a/ui/cli/tap-funnel.c +++ b/ui/cli/tap-funnel.c @@ -180,7 +180,6 @@ static void register_menu_cb(const char *name, ui_info.title = NULL; ui_info.cli_string = name; ui_info.tap_init_cb = init_funnel_cmd; - ui_info.index = -1; ui_info.nparams = 0; ui_info.params = NULL; register_stat_tap_ui(&ui_info, mcb); diff --git a/ui/cli/tap-gsm_astat.c b/ui/cli/tap-gsm_astat.c index 8db139e2d5..33905269ba 100644 --- a/ui/cli/tap-gsm_astat.c +++ b/ui/cli/tap-gsm_astat.c @@ -344,7 +344,6 @@ static stat_tap_ui gsm_a_stat_ui = { NULL, "gsm_a", gsm_a_stat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-h225counter.c b/ui/cli/tap-h225counter.c index e75fe56f2e..1cca92f424 100644 --- a/ui/cli/tap-h225counter.c +++ b/ui/cli/tap-h225counter.c @@ -403,7 +403,6 @@ static stat_tap_ui h225counter_ui = { NULL, "h225,counter", h225counter_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-h225rassrt.c b/ui/cli/tap-h225rassrt.c index 9a1a3ef657..d8d1effe91 100644 --- a/ui/cli/tap-h225rassrt.c +++ b/ui/cli/tap-h225rassrt.c @@ -242,7 +242,6 @@ static stat_tap_ui h225rassrt_ui = { NULL, "h225,srt", h225rassrt_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-hosts.c b/ui/cli/tap-hosts.c index a4c2360f7c..e1772f2aed 100644 --- a/ui/cli/tap-hosts.c +++ b/ui/cli/tap-hosts.c @@ -139,7 +139,6 @@ static stat_tap_ui hosts_ui = { NULL, TAP_NAME, hosts_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-httpstat.c b/ui/cli/tap-httpstat.c index 573c707572..f986f6cd21 100644 --- a/ui/cli/tap-httpstat.c +++ b/ui/cli/tap-httpstat.c @@ -325,7 +325,6 @@ static stat_tap_ui httpstat_ui = { NULL, "http,stat", httpstat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-icmpstat.c b/ui/cli/tap-icmpstat.c index 793685e13f..ccc67f0d60 100644 --- a/ui/cli/tap-icmpstat.c +++ b/ui/cli/tap-icmpstat.c @@ -314,7 +314,6 @@ static stat_tap_ui icmpstat_ui = { NULL, "icmp,srt", icmpstat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-icmpv6stat.c b/ui/cli/tap-icmpv6stat.c index bca9d46b76..50de5e0143 100644 --- a/ui/cli/tap-icmpv6stat.c +++ b/ui/cli/tap-icmpv6stat.c @@ -315,7 +315,6 @@ static stat_tap_ui icmpv6stat_ui = { NULL, "icmpv6,srt", icmpv6stat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-iostat.c b/ui/cli/tap-iostat.c index 2191973991..aeb0f1293c 100644 --- a/ui/cli/tap-iostat.c +++ b/ui/cli/tap-iostat.c @@ -1524,7 +1524,6 @@ static stat_tap_ui iostat_ui = { NULL, "io,stat", iostat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-macltestat.c b/ui/cli/tap-macltestat.c index 9e929f6c57..c4f85b4334 100644 --- a/ui/cli/tap-macltestat.c +++ b/ui/cli/tap-macltestat.c @@ -545,7 +545,6 @@ static stat_tap_ui mac_lte_stat_ui = { NULL, "mac-lte,stat", mac_lte_stat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-megacostat.c b/ui/cli/tap-megacostat.c index 1a5174847b..feae053ffe 100644 --- a/ui/cli/tap-megacostat.c +++ b/ui/cli/tap-megacostat.c @@ -136,7 +136,6 @@ static stat_tap_ui megacostat_ui = { NULL, "megaco,rtd", megacostat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-mgcpstat.c b/ui/cli/tap-mgcpstat.c index 508d41d71e..ad9455c05e 100644 --- a/ui/cli/tap-mgcpstat.c +++ b/ui/cli/tap-mgcpstat.c @@ -221,7 +221,6 @@ static stat_tap_ui mgcpstat_ui = { NULL, "mgcp,rtd", mgcpstat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-protocolinfo.c b/ui/cli/tap-protocolinfo.c index b7560b9665..8227c1b948 100644 --- a/ui/cli/tap-protocolinfo.c +++ b/ui/cli/tap-protocolinfo.c @@ -134,7 +134,6 @@ static stat_tap_ui protocolinfo_ui = { NULL, "proto,colinfo", protocolinfo_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-protohierstat.c b/ui/cli/tap-protohierstat.c index 292e83f8a8..6fe4096a69 100644 --- a/ui/cli/tap-protohierstat.c +++ b/ui/cli/tap-protohierstat.c @@ -209,7 +209,6 @@ static stat_tap_ui protohierstat_ui = { NULL, "io,phs", protohierstat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-radiusstat.c b/ui/cli/tap-radiusstat.c index 82bc89e606..2514ef43bd 100644 --- a/ui/cli/tap-radiusstat.c +++ b/ui/cli/tap-radiusstat.c @@ -237,7 +237,6 @@ static stat_tap_ui radiusstat_ui = { NULL, "radius,rtd", radiusstat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-rlcltestat.c b/ui/cli/tap-rlcltestat.c index de0b316970..9e635ff81b 100644 --- a/ui/cli/tap-rlcltestat.c +++ b/ui/cli/tap-rlcltestat.c @@ -406,7 +406,6 @@ static stat_tap_ui rlc_lte_stat_ui = { NULL, "rlc-lte,stat", rlc_lte_stat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-rpcprogs.c b/ui/cli/tap-rpcprogs.c index 6d7c1ceaa7..67a6ca607d 100644 --- a/ui/cli/tap-rpcprogs.c +++ b/ui/cli/tap-rpcprogs.c @@ -230,7 +230,6 @@ static stat_tap_ui rpcprogs_ui = { NULL, "rpc,programs", rpcprogs_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-rpcstat.c b/ui/cli/tap-rpcstat.c index 9a74c7bda6..006b39cbbf 100644 --- a/ui/cli/tap-rpcstat.c +++ b/ui/cli/tap-rpcstat.c @@ -347,7 +347,6 @@ static stat_tap_ui rpcstat_ui = { NULL, "rpc,srt", rpcstat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-rtp.c b/ui/cli/tap-rtp.c index 878d4368c9..0b9635f26b 100644 --- a/ui/cli/tap-rtp.c +++ b/ui/cli/tap-rtp.c @@ -158,7 +158,6 @@ static stat_tap_ui rtp_streams_stat_ui = { NULL, "rtp,streams", rtp_streams_stat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-rtspstat.c b/ui/cli/tap-rtspstat.c index 90a198f377..81f74e503c 100644 --- a/ui/cli/tap-rtspstat.c +++ b/ui/cli/tap-rtspstat.c @@ -277,7 +277,6 @@ static stat_tap_ui rtspstat_ui = { NULL, "rtsp,stat", rtspstat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-scsistat.c b/ui/cli/tap-scsistat.c index e13596bf80..ce0a58f4b3 100644 --- a/ui/cli/tap-scsistat.c +++ b/ui/cli/tap-scsistat.c @@ -258,7 +258,6 @@ static stat_tap_ui scsistat_ui = { NULL, "scsi,srt", scsistat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-sctpchunkstat.c b/ui/cli/tap-sctpchunkstat.c index 7e9d8a65e1..776a88a278 100644 --- a/ui/cli/tap-sctpchunkstat.c +++ b/ui/cli/tap-sctpchunkstat.c @@ -250,7 +250,6 @@ static stat_tap_ui sctpstat_ui = { NULL, "sctp,stat", sctpstat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-sipstat.c b/ui/cli/tap-sipstat.c index d12d620365..3a1936ad4a 100644 --- a/ui/cli/tap-sipstat.c +++ b/ui/cli/tap-sipstat.c @@ -437,7 +437,6 @@ static stat_tap_ui sipstat_ui = { NULL, "sip,stat", sipstat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-smbsids.c b/ui/cli/tap-smbsids.c index 754e0bcd4f..ab325e71a7 100644 --- a/ui/cli/tap-smbsids.c +++ b/ui/cli/tap-smbsids.c @@ -90,7 +90,6 @@ static stat_tap_ui smbsids_ui = { NULL, "smb,sids", smbsids_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-smbstat.c b/ui/cli/tap-smbstat.c index a8cd9667a4..161ea9fbac 100644 --- a/ui/cli/tap-smbstat.c +++ b/ui/cli/tap-smbstat.c @@ -259,7 +259,6 @@ static stat_tap_ui smbstat_ui = { NULL, "smb,srt", smbstat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-stats_tree.c b/ui/cli/tap-stats_tree.c index efb4bcb092..72ae99a3d5 100644 --- a/ui/cli/tap-stats_tree.c +++ b/ui/cli/tap-stats_tree.c @@ -120,7 +120,6 @@ register_stats_tree_tap (gpointer k _U_, gpointer v, gpointer p _U_) ui_info.title = NULL; ui_info.cli_string = cfg->pr->init_string; ui_info.tap_init_cb = init_stats_tree; - ui_info.index = -1; ui_info.nparams = 0; ui_info.params = NULL; register_stat_tap_ui(&ui_info, NULL); diff --git a/ui/cli/tap-sv.c b/ui/cli/tap-sv.c index 9700556508..1b41e0c1a8 100644 --- a/ui/cli/tap-sv.c +++ b/ui/cli/tap-sv.c @@ -78,7 +78,6 @@ static stat_tap_ui svstat_ui = { NULL, "sv", svstat_init, - -1, 0, NULL }; diff --git a/ui/cli/tap-wspstat.c b/ui/cli/tap-wspstat.c index eb06a67d88..77bd455e90 100644 --- a/ui/cli/tap-wspstat.c +++ b/ui/cli/tap-wspstat.c @@ -281,7 +281,6 @@ static stat_tap_ui wspstat_ui = { NULL, "wsp,stat", wspstat_init, - -1, 0, NULL }; diff --git a/ui/gtk/ansi_map_stat.c b/ui/gtk/ansi_map_stat.c index 81e6948b89..944a2a77fb 100644 --- a/ui/gtk/ansi_map_stat.c +++ b/ui/gtk/ansi_map_stat.c @@ -351,7 +351,6 @@ static stat_tap_ui ansi_map_ui = { NULL, "ansi_map", ansi_map_stat_gtk_init, - -1, 0, NULL }; diff --git a/ui/gtk/compare_stat.c b/ui/gtk/compare_stat.c index 3d50ba41e0..cf3c9202ad 100644 --- a/ui/gtk/compare_stat.c +++ b/ui/gtk/compare_stat.c @@ -1054,7 +1054,6 @@ static stat_tap_ui compare_stat_ui = { NULL, "compare", gtk_comparestat_init, - -1, 0, NULL }; diff --git a/ui/gtk/dcerpc_stat.c b/ui/gtk/dcerpc_stat.c index 6e11a1dc46..b65279503f 100644 --- a/ui/gtk/dcerpc_stat.c +++ b/ui/gtk/dcerpc_stat.c @@ -715,7 +715,6 @@ static stat_tap_ui dcerpcstat_ui = { NULL, "dcerpc,srt", gtk_dcerpcstat_init, - -1, 0, NULL }; diff --git a/ui/gtk/expert_comp_dlg.c b/ui/gtk/expert_comp_dlg.c index d4b6d89ac9..4406b83892 100644 --- a/ui/gtk/expert_comp_dlg.c +++ b/ui/gtk/expert_comp_dlg.c @@ -1007,7 +1007,6 @@ static stat_tap_ui expert_comp_ui = { NULL, "expert_comp", expert_comp_init, - -1, 0, NULL }; diff --git a/ui/gtk/flow_graph.c b/ui/gtk/flow_graph.c index 838c96e43c..ba06f5de39 100644 --- a/ui/gtk/flow_graph.c +++ b/ui/gtk/flow_graph.c @@ -388,7 +388,6 @@ static stat_tap_ui flow_graph_ui = { NULL, "flow_graph", flow_graph_init_tap, - -1, 0, NULL }; diff --git a/ui/gtk/gsm_a_stat.c b/ui/gtk/gsm_a_stat.c index 5830c98706..75f0b5daa2 100644 --- a/ui/gtk/gsm_a_stat.c +++ b/ui/gtk/gsm_a_stat.c @@ -628,7 +628,6 @@ static stat_tap_ui gsm_a_stat_bssmap_ui = { NULL, "gsm_a,bssmap", gsm_a_stat_gtk_bssmap_init, - -1, 0, NULL }; @@ -638,7 +637,6 @@ static stat_tap_ui gsm_a_stat_dtap_mm_ui = { NULL, "gsm_a,dtap_mm", gsm_a_stat_gtk_dtap_mm_init, - -1, 0, NULL }; @@ -648,7 +646,6 @@ static stat_tap_ui gsm_a_stat_dtap_rr_ui = { NULL, "gsm_a,dtap_rr", gsm_a_stat_gtk_dtap_rr_init, - -1, 0, NULL }; @@ -658,7 +655,6 @@ static stat_tap_ui gsm_a_stat_dtap_cc_ui = { NULL, "gsm_a,dtap_cc", gsm_a_stat_gtk_dtap_cc_init, - -1, 0, NULL }; @@ -668,7 +664,6 @@ static stat_tap_ui gsm_a_stat_dtap_gmm_ui = { NULL, "gsm_a,dtap_gmm", gsm_a_stat_gtk_dtap_gmm_init, - -1, 0, NULL }; @@ -678,7 +673,6 @@ static stat_tap_ui gsm_a_stat_dtap_sms_ui = { NULL, "gsm_a,dtap_sms", gsm_a_stat_gtk_dtap_sms_init, - -1, 0, NULL }; @@ -688,7 +682,6 @@ static stat_tap_ui gsm_a_stat_dtap_sm_ui = { NULL, "gsm_a,dtap_sm", gsm_a_stat_gtk_dtap_sm_init, - -1, 0, NULL }; @@ -698,7 +691,6 @@ static stat_tap_ui gsm_a_stat_dtap_ss_ui = { NULL, "gsm_a,dtap_ss", gsm_a_stat_gtk_dtap_ss_init, - -1, 0, NULL }; @@ -708,7 +700,6 @@ static stat_tap_ui gsm_a_stat_dtap_tp_ui = { NULL, "gsm_a,dtap_tp", gsm_a_stat_gtk_dtap_tp_init, - -1, 0, NULL }; @@ -718,7 +709,6 @@ static stat_tap_ui gsm_a_stat_sacch_rr_ui = { NULL, "gsm_a,sacch", gsm_a_stat_gtk_sacch_rr_init, - -1, 0, NULL }; diff --git a/ui/gtk/gsm_map_stat.c b/ui/gtk/gsm_map_stat.c index 67b2244ffa..af5102e033 100644 --- a/ui/gtk/gsm_map_stat.c +++ b/ui/gtk/gsm_map_stat.c @@ -451,7 +451,6 @@ static stat_tap_ui gsm_map_stat_ui = { NULL, "gsm_map", gsm_map_stat_gtk_init, - -1, 0, NULL }; diff --git a/ui/gtk/iax2_analysis.c b/ui/gtk/iax2_analysis.c index e78b67fafa..e167e570ee 100644 --- a/ui/gtk/iax2_analysis.c +++ b/ui/gtk/iax2_analysis.c @@ -3830,7 +3830,6 @@ static stat_tap_ui iax2_analysis_ui = { NULL, "IAX2", /* XXX - should be "iax2" */ iax2_analysis_init, - -1, 0, NULL }; diff --git a/ui/gtk/io_stat.c b/ui/gtk/io_stat.c index 7a9506c968..b7f82d9ea8 100644 --- a/ui/gtk/io_stat.c +++ b/ui/gtk/io_stat.c @@ -2170,7 +2170,6 @@ static stat_tap_ui iostat_ui = { NULL, "io,stat", iostat_init, - -1, 0, NULL }; diff --git a/ui/gtk/mtp3_stat.c b/ui/gtk/mtp3_stat.c index 63457e4fa4..628390e5a5 100644 --- a/ui/gtk/mtp3_stat.c +++ b/ui/gtk/mtp3_stat.c @@ -419,7 +419,6 @@ static stat_tap_ui mtp3_stat_ui = { NULL, "mtp3,msus", mtp3_stat_gtk_init, - -1, 0, NULL }; diff --git a/ui/gtk/rpc_progs.c b/ui/gtk/rpc_progs.c index 47b11bcfad..d60a2cbec7 100644 --- a/ui/gtk/rpc_progs.c +++ b/ui/gtk/rpc_progs.c @@ -426,7 +426,6 @@ static stat_tap_ui rpcprogs_ui = { NULL, "rpc,programs", gtk_rpcprogs_init, - -1, 0, NULL }; diff --git a/ui/gtk/rpc_stat.c b/ui/gtk/rpc_stat.c index 6659390df7..42987d0617 100644 --- a/ui/gtk/rpc_stat.c +++ b/ui/gtk/rpc_stat.c @@ -524,7 +524,6 @@ static stat_tap_ui rpcstat_ui = { NULL, "rpc,srt", gtk_rpcstat_init, - -1, 0, NULL }; diff --git a/ui/gtk/rtp_analysis.c b/ui/gtk/rtp_analysis.c index 6945d50c6f..2e319b440c 100644 --- a/ui/gtk/rtp_analysis.c +++ b/ui/gtk/rtp_analysis.c @@ -4062,7 +4062,6 @@ static stat_tap_ui rtp_analysis_ui = { NULL, "rtp", rtp_analysis_init, - -1, 0, NULL }; diff --git a/ui/gtk/tap_param_dlg.c b/ui/gtk/tap_param_dlg.c index f9174d4fee..f5f57e03e5 100644 --- a/ui/gtk/tap_param_dlg.c +++ b/ui/gtk/tap_param_dlg.c @@ -76,7 +76,6 @@ register_param_stat(tap_param_dlg *info, const char *name, ui_info.title = full_name; ui_info.cli_string = info->init_string; ui_info.tap_init_cb = info->tap_init_cb; - ui_info.index = -1; ui_info.nparams = info->nparams; ui_info.params = info->params; register_stat_tap_ui(&ui_info, NULL); diff --git a/ui/gtk/voip_calls_dlg.c b/ui/gtk/voip_calls_dlg.c index 1acd9bd38c..52f123b6e9 100644 --- a/ui/gtk/voip_calls_dlg.c +++ b/ui/gtk/voip_calls_dlg.c @@ -946,7 +946,6 @@ static stat_tap_ui voip_calls_ui = { NULL, "voip,calls", voip_calls_dlg_init_taps, - -1, 0, NULL }; diff --git a/ui/qt/io_graph_dialog.cpp b/ui/qt/io_graph_dialog.cpp index 9aa5abbe56..06096ec840 100644 --- a/ui/qt/io_graph_dialog.cpp +++ b/ui/qt/io_graph_dialog.cpp @@ -2179,7 +2179,6 @@ static stat_tap_ui io_stat_ui = { NULL, "io,stat", io_graph_init, - -1, 0, NULL };