Skip to content

Commit

Permalink
Variable 'total_in' set but not used
Browse files Browse the repository at this point in the history
  • Loading branch information
Coeur committed Oct 31, 2024
1 parent 7df56f7 commit fc07b4d
Showing 1 changed file with 0 additions and 2 deletions.
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

0 comments on commit fc07b4d

Please sign in to comment.