remove duplicate assert
This commit is contained in:
parent
de07505464
commit
4a2648d936
|
@ -1406,7 +1406,6 @@ namespace libtorrent
|
||||||
{
|
{
|
||||||
if (GetLastError() != ERROR_IO_PENDING)
|
if (GetLastError() != ERROR_IO_PENDING)
|
||||||
{
|
{
|
||||||
TORRENT_ASSERT(GetLastError() != ERROR_BAD_ARGUMENTS);
|
|
||||||
TORRENT_ASSERT(GetLastError() != ERROR_BAD_ARGUMENTS);
|
TORRENT_ASSERT(GetLastError() != ERROR_BAD_ARGUMENTS);
|
||||||
ec.assign(GetLastError(), get_system_category());
|
ec.assign(GetLastError(), get_system_category());
|
||||||
CloseHandle(ol.hEvent);
|
CloseHandle(ol.hEvent);
|
||||||
|
|
Loading…
Reference in New Issue