* src/retr.c (calc_rate): Remove unwanted assertions

This commit is contained in:
Tim Rühsen 2019-12-12 15:36:29 +01:00
parent 07eebd2a20
commit f27daa1c17

View File

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