mirror of
https://github.com/mirror/wget.git
synced 2025-03-09 17:20:33 +08:00
* src/retr.c (calc_rate): Remove unwanted assertions
This commit is contained in:
parent
07eebd2a20
commit
f27daa1c17
@ -816,9 +816,6 @@ calc_rate (wgint bytes, double secs, int *units)
|
||||
else
|
||||
bibyte = 1000.0;
|
||||
|
||||
assert (secs >= 0);
|
||||
assert (bytes >= 0);
|
||||
|
||||
if (secs == 0)
|
||||
/* If elapsed time is exactly zero, it means we're under the
|
||||
resolution of the timer. This can easily happen on systems
|
||||
|
Loading…
Reference in New Issue
Block a user