From coverity;
>>> CID 1365198: (REVERSE_INULL) >>> Null-checking "zs" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 374 err: if (zs != NULL && 375 (tret = deflateEnd(zs)) != Z_OK && tret != Z_DATA_ERROR) 376 ret = zlib_error(compressor, session, "deflateEnd", tret); 377 if (last_zs != NULL && 378 (tret = deflateEnd(last_zs)) != Z_OK && tret != Z_DATA_ERROR) 379 ret = zlib_error(compressor, session, "deflateEnd", tret); /ext/compressors/zlib/zlib_compress.c: 374 in zlib_compress_raw() 368 compressor, session, "deflate end block", ret); 369 goto err; 370 } 371 ret = 0; 372 } 373