From 2e71bc818c22a84816e84aed50f8c02b3d17bd45 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 24 Oct 2010 04:15:10 +0000 Subject: [PATCH] one last stats fix --- src/stat.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/stat.cpp b/src/stat.cpp index d137ed1e0..fb3c4cf7f 100644 --- a/src/stat.cpp +++ b/src/stat.cpp @@ -41,8 +41,6 @@ namespace libtorrent { void stat_channel::second_tick(int tick_interval_ms) { - if (m_counter == 0) return; - int sample = int(size_type(m_counter) * 1000 / tick_interval_ms); TORRENT_ASSERT(sample >= 0); m_average = m_average * 3 / 4 + sample / 4;