summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/compressors/zlib/zlib_compress.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/compressors/zlib/zlib_compress.c b/ext/compressors/zlib/zlib_compress.c
index ef20503df0a..9ee8fe3bd8b 100644
--- a/ext/compressors/zlib/zlib_compress.c
+++ b/ext/compressors/zlib/zlib_compress.c
@@ -371,8 +371,7 @@ retry: /* If we reached our maximum reserve, quit. */
ret = 0;
}
-err: if (zs != NULL &&
- (tret = deflateEnd(zs)) != Z_OK && tret != Z_DATA_ERROR)
+err: if ((tret = deflateEnd(zs)) != Z_OK && tret != Z_DATA_ERROR)
ret = zlib_error(compressor, session, "deflateEnd", tret);
if (last_zs != NULL &&
(tret = deflateEnd(last_zs)) != Z_OK && tret != Z_DATA_ERROR)