Remove second (redundant) assignment to fdata->cum_bytes

svn path=/trunk/; revision=30046
This commit is contained in:
Kovarththanan Rajaratnam 2009-09-21 17:38:10 +00:00
parent 9831d4c4e1
commit 109875c775
1 changed files with 1 additions and 3 deletions

4
file.c
View File

@ -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