delete a redundant line

This commit is contained in:
Arvid Norberg 2012-05-02 20:06:19 +00:00
parent 10b64a7761
commit 7094b02f06
1 changed files with 0 additions and 1 deletions

View File

@ -809,7 +809,6 @@ int main(int argc, char* argv[])
peer_conn* p = *i; peer_conn* p = *i;
int time = total_milliseconds(p->end_time - p->start_time); int time = total_milliseconds(p->end_time - p->start_time);
if (time == 0) time = 1; if (time == 0) time = 1;
if (time == 0) time = 1;
total_sent += p->blocks_sent; total_sent += p->blocks_sent;
up += (boost::int64_t(p->blocks_sent) * 0x4000) / time / 1000.f; up += (boost::int64_t(p->blocks_sent) * 0x4000) / time / 1000.f;
down += (boost::int64_t(p->blocks_received) * 0x4000) / time / 1000.f; down += (boost::int64_t(p->blocks_received) * 0x4000) / time / 1000.f;