Get rid of an unused structure member.

Change-Id: I2941bb7e6dc0fce3e1256af6e5e19d2997de5801
Reviewed-on: https://code.wireshark.org/review/7573
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2015-03-06 20:33:41 -08:00
parent b6ecff700f
commit 5e67ae78ba
57 changed files with 0 additions and 69 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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);

View File

@ -160,7 +160,6 @@ static stat_tap_ui afpstat_ui = {
NULL,
"afp,srt",
afpstat_init,
-1,
0,
NULL
};

View File

@ -158,7 +158,6 @@ static stat_tap_ui ansi_a_stat_ui = {
NULL,
"ansi_a",
ansi_a_stat_init,
-1,
0,
NULL
};

View File

@ -179,7 +179,6 @@ static stat_tap_ui dhcpstat_ui = {
NULL,
"bootp,stat",
dhcpstat_init,
-1,
0,
NULL
};

View File

@ -124,7 +124,6 @@ static stat_tap_ui camelcounter_ui = {
NULL,
"camel,counter",
camelcounter_init,
-1,
0,
NULL
};

View File

@ -254,7 +254,6 @@ static stat_tap_ui camelsrt_ui = {
NULL,
"camel,srt",
camelsrt_init,
-1,
0,
NULL
};

View File

@ -579,7 +579,6 @@ static stat_tap_ui comparestat_ui = {
NULL,
"compare",
comparestat_init,
-1,
0,
NULL
};

View File

@ -293,7 +293,6 @@ static stat_tap_ui dcerpcstat_ui = {
NULL,
"dcerpc,srt",
dcerpcstat_init,
-1,
0,
NULL
};

View File

@ -272,7 +272,6 @@ static stat_tap_ui diameteravp_ui = {
NULL,
"diameter,avp",
diameteravp_init,
-1,
0,
NULL
};

View File

@ -269,7 +269,6 @@ static stat_tap_ui expert_stat_ui = {
NULL,
"expert",
expert_stat_init,
-1,
0,
NULL
};

View File

@ -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
};

View File

@ -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);

View File

@ -344,7 +344,6 @@ static stat_tap_ui gsm_a_stat_ui = {
NULL,
"gsm_a",
gsm_a_stat_init,
-1,
0,
NULL
};

View File

@ -403,7 +403,6 @@ static stat_tap_ui h225counter_ui = {
NULL,
"h225,counter",
h225counter_init,
-1,
0,
NULL
};

View File

@ -242,7 +242,6 @@ static stat_tap_ui h225rassrt_ui = {
NULL,
"h225,srt",
h225rassrt_init,
-1,
0,
NULL
};

View File

@ -139,7 +139,6 @@ static stat_tap_ui hosts_ui = {
NULL,
TAP_NAME,
hosts_init,
-1,
0,
NULL
};

View File

@ -325,7 +325,6 @@ static stat_tap_ui httpstat_ui = {
NULL,
"http,stat",
httpstat_init,
-1,
0,
NULL
};

View File

@ -314,7 +314,6 @@ static stat_tap_ui icmpstat_ui = {
NULL,
"icmp,srt",
icmpstat_init,
-1,
0,
NULL
};

View File

@ -315,7 +315,6 @@ static stat_tap_ui icmpv6stat_ui = {
NULL,
"icmpv6,srt",
icmpv6stat_init,
-1,
0,
NULL
};

View File

@ -1524,7 +1524,6 @@ static stat_tap_ui iostat_ui = {
NULL,
"io,stat",
iostat_init,
-1,
0,
NULL
};

View File

@ -545,7 +545,6 @@ static stat_tap_ui mac_lte_stat_ui = {
NULL,
"mac-lte,stat",
mac_lte_stat_init,
-1,
0,
NULL
};

View File

@ -136,7 +136,6 @@ static stat_tap_ui megacostat_ui = {
NULL,
"megaco,rtd",
megacostat_init,
-1,
0,
NULL
};

View File

@ -221,7 +221,6 @@ static stat_tap_ui mgcpstat_ui = {
NULL,
"mgcp,rtd",
mgcpstat_init,
-1,
0,
NULL
};

View File

@ -134,7 +134,6 @@ static stat_tap_ui protocolinfo_ui = {
NULL,
"proto,colinfo",
protocolinfo_init,
-1,
0,
NULL
};

View File

@ -209,7 +209,6 @@ static stat_tap_ui protohierstat_ui = {
NULL,
"io,phs",
protohierstat_init,
-1,
0,
NULL
};

View File

@ -237,7 +237,6 @@ static stat_tap_ui radiusstat_ui = {
NULL,
"radius,rtd",
radiusstat_init,
-1,
0,
NULL
};

View File

@ -406,7 +406,6 @@ static stat_tap_ui rlc_lte_stat_ui = {
NULL,
"rlc-lte,stat",
rlc_lte_stat_init,
-1,
0,
NULL
};

View File

@ -230,7 +230,6 @@ static stat_tap_ui rpcprogs_ui = {
NULL,
"rpc,programs",
rpcprogs_init,
-1,
0,
NULL
};

View File

@ -347,7 +347,6 @@ static stat_tap_ui rpcstat_ui = {
NULL,
"rpc,srt",
rpcstat_init,
-1,
0,
NULL
};

View File

@ -158,7 +158,6 @@ static stat_tap_ui rtp_streams_stat_ui = {
NULL,
"rtp,streams",
rtp_streams_stat_init,
-1,
0,
NULL
};

View File

@ -277,7 +277,6 @@ static stat_tap_ui rtspstat_ui = {
NULL,
"rtsp,stat",
rtspstat_init,
-1,
0,
NULL
};

View File

@ -258,7 +258,6 @@ static stat_tap_ui scsistat_ui = {
NULL,
"scsi,srt",
scsistat_init,
-1,
0,
NULL
};

View File

@ -250,7 +250,6 @@ static stat_tap_ui sctpstat_ui = {
NULL,
"sctp,stat",
sctpstat_init,
-1,
0,
NULL
};

View File

@ -437,7 +437,6 @@ static stat_tap_ui sipstat_ui = {
NULL,
"sip,stat",
sipstat_init,
-1,
0,
NULL
};

View File

@ -90,7 +90,6 @@ static stat_tap_ui smbsids_ui = {
NULL,
"smb,sids",
smbsids_init,
-1,
0,
NULL
};

View File

@ -259,7 +259,6 @@ static stat_tap_ui smbstat_ui = {
NULL,
"smb,srt",
smbstat_init,
-1,
0,
NULL
};

View File

@ -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);

View File

@ -78,7 +78,6 @@ static stat_tap_ui svstat_ui = {
NULL,
"sv",
svstat_init,
-1,
0,
NULL
};

View File

@ -281,7 +281,6 @@ static stat_tap_ui wspstat_ui = {
NULL,
"wsp,stat",
wspstat_init,
-1,
0,
NULL
};

View File

@ -351,7 +351,6 @@ static stat_tap_ui ansi_map_ui = {
NULL,
"ansi_map",
ansi_map_stat_gtk_init,
-1,
0,
NULL
};

View File

@ -1054,7 +1054,6 @@ static stat_tap_ui compare_stat_ui = {
NULL,
"compare",
gtk_comparestat_init,
-1,
0,
NULL
};

View File

@ -715,7 +715,6 @@ static stat_tap_ui dcerpcstat_ui = {
NULL,
"dcerpc,srt",
gtk_dcerpcstat_init,
-1,
0,
NULL
};

View File

@ -1007,7 +1007,6 @@ static stat_tap_ui expert_comp_ui = {
NULL,
"expert_comp",
expert_comp_init,
-1,
0,
NULL
};

View File

@ -388,7 +388,6 @@ static stat_tap_ui flow_graph_ui = {
NULL,
"flow_graph",
flow_graph_init_tap,
-1,
0,
NULL
};

View File

@ -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
};

View File

@ -451,7 +451,6 @@ static stat_tap_ui gsm_map_stat_ui = {
NULL,
"gsm_map",
gsm_map_stat_gtk_init,
-1,
0,
NULL
};

View File

@ -3830,7 +3830,6 @@ static stat_tap_ui iax2_analysis_ui = {
NULL,
"IAX2", /* XXX - should be "iax2" */
iax2_analysis_init,
-1,
0,
NULL
};

View File

@ -2170,7 +2170,6 @@ static stat_tap_ui iostat_ui = {
NULL,
"io,stat",
iostat_init,
-1,
0,
NULL
};

View File

@ -419,7 +419,6 @@ static stat_tap_ui mtp3_stat_ui = {
NULL,
"mtp3,msus",
mtp3_stat_gtk_init,
-1,
0,
NULL
};

View File

@ -426,7 +426,6 @@ static stat_tap_ui rpcprogs_ui = {
NULL,
"rpc,programs",
gtk_rpcprogs_init,
-1,
0,
NULL
};

View File

@ -524,7 +524,6 @@ static stat_tap_ui rpcstat_ui = {
NULL,
"rpc,srt",
gtk_rpcstat_init,
-1,
0,
NULL
};

View File

@ -4062,7 +4062,6 @@ static stat_tap_ui rtp_analysis_ui = {
NULL,
"rtp",
rtp_analysis_init,
-1,
0,
NULL
};

View File

@ -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);

View File

@ -946,7 +946,6 @@ static stat_tap_ui voip_calls_ui = {
NULL,
"voip,calls",
voip_calls_dlg_init_taps,
-1,
0,
NULL
};

View File

@ -2179,7 +2179,6 @@ static stat_tap_ui io_stat_ui = {
NULL,
"io,stat",
io_graph_init,
-1,
0,
NULL
};