From 31d5709bc6c3a3fcb25a0d9d0167cb828ba8895a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C5=93ur?= Date: Fri, 1 Nov 2024 11:48:49 +0100 Subject: [PATCH] The value is never actually read from 'zlib' --- mz_strm_zlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mz_strm_zlib.c b/mz_strm_zlib.c index cba63fb2..5734cf7f 100644 --- a/mz_strm_zlib.c +++ b/mz_strm_zlib.c @@ -365,7 +365,7 @@ int32_t mz_stream_zlib_set_prop_int64(void *stream, int32_t prop, int64_t value) } void *mz_stream_zlib_create(void) { - mz_stream_zlib *zlib = zlib = (mz_stream_zlib *)calloc(1, sizeof(mz_stream_zlib)); + mz_stream_zlib *zlib = (mz_stream_zlib *)calloc(1, sizeof(mz_stream_zlib)); if (zlib) { zlib->stream.vtbl = &mz_stream_zlib_vtbl; zlib->level = Z_DEFAULT_COMPRESSION;