mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
inflate_stream: remove redundant check that is always true
This commit is contained in:
parent
2c1b4e74e4
commit
22085f7d6e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user