summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-21 17:38:10 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-21 17:38:10 +0000
commit109875c7757c713e3a8fbae51186bac98d9b0fed (patch)
treed6bab9642aa5f8e094a0f2df590a6c806d0c8a41 /file.c
parent9831d4c4e19a8b31ee70a2e703425c2834a922e6 (diff)
downloadwireshark-109875c7757c713e3a8fbae51186bac98d9b0fed.tar.gz
Remove second (redundant) assignment to fdata->cum_bytes
svn path=/trunk/; revision=30046
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/file.c b/file.c
index b603200bbe..7007ad6e46 100644
--- a/file.c
+++ b/file.c
@@ -2413,10 +2413,8 @@ ref_time_packets(capture_file *cf)
cum_bytes = 0;
for (fdata = cf->plist; fdata != NULL; fdata = fdata->next) {
-
- fdata->cum_bytes = cum_bytes + fdata->pkt_len;
/* just add some value here until we know if it is being displayed or not */
- fdata->cum_bytes = cum_bytes + fdata->pkt_len;
+ fdata->cum_bytes = cum_bytes + fdata->pkt_len;
/* If we don't have the time stamp of the first packet in the
capture, it's because this is the first packet. Save the time