Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable 'total_in' set but not used #810

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions mz_strm_libcomp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
Loading