Remove unused 'offset' parameter
svn path=/trunk/; revision=30078
This commit is contained in:
parent
4827316ea4
commit
cf8e2654b4
4
tshark.c
4
tshark.c
|
@ -2241,7 +2241,7 @@ process_packet_first_pass(capture_file *cf,
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
process_packet_second_pass(capture_file *cf, frame_data *fdata,
|
process_packet_second_pass(capture_file *cf, frame_data *fdata,
|
||||||
gint64 offset, union wtap_pseudo_header *pseudo_header, const guchar *pd,
|
union wtap_pseudo_header *pseudo_header, const guchar *pd,
|
||||||
gboolean filtering_tap_listeners, guint tap_flags)
|
gboolean filtering_tap_listeners, guint tap_flags)
|
||||||
{
|
{
|
||||||
gboolean create_proto_tree;
|
gboolean create_proto_tree;
|
||||||
|
@ -2460,7 +2460,7 @@ load_cap_file(capture_file *cf, char *save_file, int out_file_type,
|
||||||
for (fdata = cf->plist_start; err == 0 && fdata != NULL; fdata = fdata->next) {
|
for (fdata = cf->plist_start; err == 0 && fdata != NULL; fdata = fdata->next) {
|
||||||
if (wtap_seek_read(cf->wth, fdata->file_off, &cf->pseudo_header,
|
if (wtap_seek_read(cf->wth, fdata->file_off, &cf->pseudo_header,
|
||||||
cf->pd, fdata->cap_len, &err, &err_info)) {
|
cf->pd, fdata->cap_len, &err, &err_info)) {
|
||||||
if (process_packet_second_pass(cf, fdata, fdata->file_off,
|
if (process_packet_second_pass(cf, fdata,
|
||||||
&cf->pseudo_header, cf->pd,
|
&cf->pseudo_header, cf->pd,
|
||||||
filtering_tap_listeners, tap_flags)) {
|
filtering_tap_listeners, tap_flags)) {
|
||||||
/* Either there's no read filtering or this packet passed the
|
/* Either there's no read filtering or this packet passed the
|
||||||
|
|
Loading…
Reference in New Issue