Remove bogus assertion in decompress_iob().
authorFabian Keil <fk@fabiankeil.de>
Wed, 19 Aug 2009 15:26:36 +0000 (15:26 +0000)
committerFabian Keil <fk@fabiankeil.de>
Wed, 19 Aug 2009 15:26:36 +0000 (15:26 +0000)
Unsigned variables rarely become negative.

parsers.c

index b370aa6..9a699ae 100644 (file)
--- 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;
       }