removed invalid assert

This commit is contained in:
Arvid Norberg 2009-12-06 02:31:22 +00:00
parent 4e861e923d
commit 9571fd566f
1 changed files with 0 additions and 1 deletions

View File

@ -60,7 +60,6 @@ namespace libtorrent
int gzip_header(const char* buf, int size) int gzip_header(const char* buf, int size)
{ {
TORRENT_ASSERT(buf != 0); TORRENT_ASSERT(buf != 0);
TORRENT_ASSERT(size > 0);
const unsigned char* buffer = reinterpret_cast<const unsigned char*>(buf); const unsigned char* buffer = reinterpret_cast<const unsigned char*>(buf);
const int total_size = size; const int total_size = size;