From c3e4624e42ac1aa03bfd6d71242b32ffc786ecd4 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 24 Jan 2006 15:59:48 +0000 Subject: [PATCH] removed incorrect assert --- src/file_win.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/file_win.cpp b/src/file_win.cpp index 20a8fc6f0..b726a57da 100644 --- a/src/file_win.cpp +++ b/src/file_win.cpp @@ -194,7 +194,6 @@ namespace libtorrent size_type write(const char* buffer, size_type num_bytes) { assert(buffer); - assert(num_bytes > 0); assert((DWORD)num_bytes == num_bytes); DWORD bytes_written = 0; if (num_bytes != 0)