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;