From 9571fd566f90067feade25d6d87a3032350c51ca Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 6 Dec 2009 02:31:22 +0000 Subject: [PATCH] removed invalid assert --- src/gzip.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gzip.cpp b/src/gzip.cpp index cf0c5b196..a7c60f261 100644 --- a/src/gzip.cpp +++ b/src/gzip.cpp @@ -60,7 +60,6 @@ namespace libtorrent int gzip_header(const char* buf, int size) { TORRENT_ASSERT(buf != 0); - TORRENT_ASSERT(size > 0); const unsigned char* buffer = reinterpret_cast(buf); const int total_size = size;