diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-11-24 12:49:50 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-11-24 12:49:50 +0000 |
commit | 6aec20c782cddca17ad922314d2ca0451e9f351a (patch) | |
tree | c8d06ddf9a1b6a456aeebbecf928b8f8a6065969 | |
parent | 92fba9d072cbf11df8930c32923457b65e57930d (diff) | |
download | wireshark-6aec20c782cddca17ad922314d2ca0451e9f351a.tar.gz |
Rmove packet_info argument from packet_list_append(), never used.
Part of attachment 12060, from Didier Gautheron (bug #9419).
svn path=/trunk/; revision=53544
-rw-r--r-- | file.c | 2 | ||||
-rw-r--r-- | ui/gtk/packet_list.c | 2 | ||||
-rw-r--r-- | ui/qt/packet_list.cpp | 3 | ||||
-rw-r--r-- | ui/ui_util.h | 2 |
4 files changed, 4 insertions, 5 deletions
@@ -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); |