inflate_stream: remove redundant check that is always true

This commit is contained in:
Daniel Stenberg 2010-09-12 16:34:16 +02:00
parent 2c1b4e74e4
commit 22085f7d6e

View File

@ -123,7 +123,9 @@ inflate_stream(struct connectdata *conn,
}
/* Done with these bytes, exit */
if(status == Z_OK && z->avail_in == 0) {
/* status is always Z_OK at this point! */
if(z->avail_in == 0) {
free(decomp);
return result;
}