aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-02-07 19:15:13 -0800
committerGuy Harris <guy@alum.mit.edu>2018-02-08 03:15:59 +0000
commite5ac9e4cf00e2efe6872177e81f7f0d655c80021 (patch)
treeddff20ac815583bf1586c08f887e0a2c929db2f4 /file.c
parent18bbdb478e8b3ffa353810d6df19b2b217a2c24d (diff)
Get rid of a calculation whose result is not used.
Change-Id: Ic481636d35953476b26be15d169f22e6db149828 Reviewed-on: https://code.wireshark.org/review/25676 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'file.c')
-rw-r--r--file.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/file.c b/file.c
index 2718c30125..e154b71752 100644
--- a/file.c
+++ b/file.c
@@ -1248,13 +1248,6 @@ merge_callback(merge_event event, int num _U_,
case MERGE_EVENT_RECORD_WAS_READ:
{
- gint64 data_offset = 0;
-
- /* Get the sum of the data offsets in all of the files. */
- data_offset = 0;
- for (i = 0; i < in_file_count; i++)
- data_offset += in_files[i].data_offset;
-
/* Create the progress bar if necessary.
We check on every iteration of the loop, so that it takes no
longer than the standard time to create it (otherwise, for a