initialize counters in client_test.cpp

This commit is contained in:
Arvid Norberg 2012-01-20 04:51:08 +00:00
parent 88c5b35826
commit 48e7b35a93
1 changed files with 1 additions and 0 deletions

View File

@ -1182,6 +1182,7 @@ int main(int argc, char* argv[])
std::set<torrent_handle> non_files; std::set<torrent_handle> non_files;
int counters[torrents_max]; int counters[torrents_max];
memset(counters, 0, sizeof(counters));
session ses(fingerprint("LT", LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0) session ses(fingerprint("LT", LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0)
, session::add_default_plugins , session::add_default_plugins