Commit 22085f7d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

inflate_stream: remove redundant check that is always true

parent 2c1b4e74
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;
      }