Rmove packet_info argument from packet_list_append(), never used.
Part of attachment 12060, from Didier Gautheron (bug #9419). svn path=/trunk/; revision=53544
This commit is contained in:
parent
92fba9d072
commit
6aec20c782
2
file.c
2
file.c
|
@ -1195,7 +1195,7 @@ add_packet_to_packet_list(frame_data *fdata, capture_file *cf,
|
|||
|
||||
if (add_to_packet_list) {
|
||||
/* We fill the needed columns from new_packet_list */
|
||||
row = packet_list_append(cinfo, fdata, &edt->pi);
|
||||
row = packet_list_append(cinfo, fdata);
|
||||
}
|
||||
|
||||
if (fdata->flags.passed_dfilter || fdata->flags.ref_time)
|
||||
|
|
|
@ -144,7 +144,7 @@ packet_list_recreate(void)
|
|||
}
|
||||
|
||||
guint
|
||||
packet_list_append(column_info *cinfo _U_, frame_data *fdata, packet_info *pinfo _U_)
|
||||
packet_list_append(column_info *cinfo _U_, frame_data *fdata)
|
||||
{
|
||||
/* fdata should be filled with the stuff we need
|
||||
* strings are built at display time.
|
||||
|
|
|
@ -62,10 +62,9 @@ static PacketList *gbl_cur_packet_list = NULL;
|
|||
const int max_comments_to_fetch_ = 20000000; // Arbitrary
|
||||
|
||||
guint
|
||||
packet_list_append(column_info *cinfo, frame_data *fdata, packet_info *pinfo)
|
||||
packet_list_append(column_info *cinfo, frame_data *fdata)
|
||||
{
|
||||
Q_UNUSED(cinfo);
|
||||
Q_UNUSED(pinfo);
|
||||
|
||||
if (!gbl_cur_packet_list)
|
||||
return 0;
|
||||
|
|
|
@ -67,7 +67,7 @@ void packet_list_recreate_visible_rows(void);
|
|||
void packet_list_thaw(void);
|
||||
void packet_list_next(void);
|
||||
void packet_list_prev(void);
|
||||
guint packet_list_append(column_info *cinfo, frame_data *fdata, packet_info *pinfo);
|
||||
guint packet_list_append(column_info *cinfo, frame_data *fdata);
|
||||
frame_data * packet_list_get_row_data(gint row);
|
||||
void packet_list_set_selected_row(gint row);
|
||||
void packet_list_enable_color(gboolean enable);
|
||||
|
|
Loading…
Reference in New Issue