summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--file.c2
-rw-r--r--ui/gtk/packet_list.c2
-rw-r--r--ui/qt/packet_list.cpp3
-rw-r--r--ui/ui_util.h2
4 files changed, 4 insertions, 5 deletions
diff --git a/file.c b/file.c
index 967eda5991..1d862d8395 100644
--- a/file.c
+++ b/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)
diff --git a/ui/gtk/packet_list.c b/ui/gtk/packet_list.c
index 8c2d46336e..7304a5ab16 100644
--- a/ui/gtk/packet_list.c
+++ b/ui/gtk/packet_list.c
@@ -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.
diff --git a/ui/qt/packet_list.cpp b/ui/qt/packet_list.cpp
index a70c3e690d..bd3ab5dbcb 100644
--- a/ui/qt/packet_list.cpp
+++ b/ui/qt/packet_list.cpp
@@ -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;
diff --git a/ui/ui_util.h b/ui/ui_util.h
index 3fcc2ff33b..95a79ee11a 100644
--- a/ui/ui_util.h
+++ b/ui/ui_util.h
@@ -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);