Skip to content

Commit

Permalink
The value is never actually read from 'zlib'
Browse files Browse the repository at this point in the history
  • Loading branch information
Coeur authored and nmoinvaz committed Nov 1, 2024
1 parent c460967 commit 39255ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mz_strm_zlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 39255ca

Please sign in to comment.