removed incorrect assert

This commit is contained in:
Arvid Norberg 2006-01-24 15:59:48 +00:00
parent b440974269
commit c3e4624e42
1 changed files with 0 additions and 1 deletions

View File

@ -194,7 +194,6 @@ namespace libtorrent
size_type write(const char* buffer, size_type num_bytes) size_type write(const char* buffer, size_type num_bytes)
{ {
assert(buffer); assert(buffer);
assert(num_bytes > 0);
assert((DWORD)num_bytes == num_bytes); assert((DWORD)num_bytes == num_bytes);
DWORD bytes_written = 0; DWORD bytes_written = 0;
if (num_bytes != 0) if (num_bytes != 0)