summaryrefslogtreecommitdiff
path: root/tshark.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-22 20:02:51 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-22 20:02:51 +0000
commitcf8e2654b414b51b95fa0e6cd25fc53bb13e66d9 (patch)
treed54eb7d2496d1fa90b820e1cf49108c15e5c2594 /tshark.c
parent4827316ea4c70e532e0893b4667a47d6969eeea1 (diff)
downloadwireshark-cf8e2654b414b51b95fa0e6cd25fc53bb13e66d9.tar.gz
Remove unused 'offset' parameter
svn path=/trunk/; revision=30078
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tshark.c b/tshark.c
index 0088b8ae84..52fe9bd7bc 100644
--- a/tshark.c
+++ b/tshark.c
@@ -2241,7 +2241,7 @@ process_packet_first_pass(capture_file *cf,
static gboolean
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 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) {
if (wtap_seek_read(cf->wth, fdata->file_off, &cf->pseudo_header,
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,
filtering_tap_listeners, tap_flags)) {
/* Either there's no read filtering or this packet passed the