From 8339456a445ce2f6e22b63af738d8874d4668768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C5=93ur?= Date: Thu, 31 Oct 2024 13:57:18 +0100 Subject: [PATCH] Variable 'total_in' set but not used --- mz_strm_libcomp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mz_strm_libcomp.c b/mz_strm_libcomp.c index 639c81d0..a222f208 100644 --- a/mz_strm_libcomp.c +++ b/mz_strm_libcomp.c @@ -116,7 +116,6 @@ int32_t mz_stream_libcomp_read(void *stream, void *buf, int32_t size) { uint64_t total_in_after = 0; uint64_t total_out_before = 0; uint64_t total_out_after = 0; - int32_t total_in = 0; int32_t total_out = 0; int32_t in_bytes = 0; int32_t out_bytes = 0; @@ -161,7 +160,6 @@ int32_t mz_stream_libcomp_read(void *stream, void *buf, int32_t size) { in_bytes = (int32_t)(total_in_before - total_in_after); out_bytes = (int32_t)(total_out_before - total_out_after); - total_in += in_bytes; total_out += out_bytes; libcomp->total_in += in_bytes;