forked from premiere/premiere-libtorrent
removed invalid assert
This commit is contained in:
parent
4e861e923d
commit
9571fd566f
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue