From 7094b02f06535bb83e669507f7e4cdbc447b2159 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 2 May 2012 20:06:19 +0000 Subject: [PATCH] delete a redundant line --- examples/connection_tester.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/connection_tester.cpp b/examples/connection_tester.cpp index ea29551ea..8eeb3b50b 100644 --- a/examples/connection_tester.cpp +++ b/examples/connection_tester.cpp @@ -809,7 +809,6 @@ int main(int argc, char* argv[]) peer_conn* p = *i; int time = total_milliseconds(p->end_time - p->start_time); if (time == 0) time = 1; - if (time == 0) time = 1; total_sent += p->blocks_sent; up += (boost::int64_t(p->blocks_sent) * 0x4000) / time / 1000.f; down += (boost::int64_t(p->blocks_received) * 0x4000) / time / 1000.f;