From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 19 Aug 2009 15:26:36 +0000 (+0000)
Subject: Remove bogus assertion in decompress_iob().
X-Git-Tag: v_3_0_15~99
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/developer-manual/static/@default-cgi@show-url-info?a=commitdiff_plain;h=344cf546efd321c01a9d25d959fecd6205541fa3;p=privoxy.git

Remove bogus assertion in decompress_iob().

Unsigned variables rarely become negative.
---

diff --git a/parsers.c b/parsers.c
index b370aa64..9a699ae1 100644
--- a/parsers.c
+++ b/parsers.c
@@ -1,4 +1,4 @@
-const char parsers_rcs[] = "$Id: parsers.c,v 1.203 2009/08/01 11:46:59 fabiankeil Exp $";
+const char parsers_rcs[] = "$Id: parsers.c,v 1.204 2009/08/19 15:25:31 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/parsers.c,v $
@@ -653,7 +653,6 @@ jb_err decompress_iob(struct client_state *csp)
           */
          assert(zstr.avail_out == tmpbuf + bufsize - (char *)zstr.next_out);
          assert((char *)zstr.next_out == tmpbuf + ((char *)oldnext_out - buf));
-         assert(zstr.avail_out > 0U);
 
          buf = tmpbuf;
       }