From 344cf546efd321c01a9d25d959fecd6205541fa3 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 19 Aug 2009 15:26:36 +0000 Subject: [PATCH] Remove bogus assertion in decompress_iob(). Unsigned variables rarely become negative. --- parsers.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } -- 2.39.2