mirror of
https://github.com/zlib-ng/minizip-ng
synced 2026-08-25 14:26:08 -04:00
Fixed unused variable warnings on Ubuntu.
This commit is contained in:
parent
76ed7768d5
commit
521eeae6a9
3 changed files with 4 additions and 1 deletions
|
|
@ -191,6 +191,8 @@ int32_t mz_stream_zlib_read(void *stream, void *buf, int32_t size) {
|
|||
}
|
||||
} while (zlib->zstream.avail_out > 0);
|
||||
|
||||
MZ_UNUSED(total_in);
|
||||
|
||||
if (zlib->error != 0) {
|
||||
/* Zlib errors are compatible with MZ */
|
||||
return zlib->error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue