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

Silence -Wunused-but-set-variable warnings #752

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

brad0
Copy link
Contributor

@brad0 brad0 commented Dec 18, 2023

/home/brad/tmp/minizip-ng/mz_strm_zstd.c:110:13: warning: variable 'total_in' set but not used [-Wunused-but-set-variable]
    int32_t total_in = 0;
            ^

/home/brad/tmp/minizip-ng/mz_strm_bzip.c:117:13: warning: variable 'total_in' set but not used [-Wunused-but-set-variable]
    int32_t total_in = 0;
            ^

/home/brad/tmp/minizip-ng/mz_strm_zstd.c:110:13: warning: variable 'total_in' set but not used [-Wunused-but-set-variable]
    int32_t total_in = 0;
            ^

/home/brad/tmp/minizip-ng/mz_strm_bzip.c:117:13: warning: variable 'total_in' set but not used [-Wunused-but-set-variable]
    int32_t total_in = 0;
            ^
@nmoinvaz nmoinvaz merged commit 782b139 into zlib-ng:develop Dec 18, 2023
28 checks passed
@nmoinvaz nmoinvaz added the warning fix Compiler warning silencing label Dec 18, 2023
@brad0 brad0 deleted the unused_but_set_variable branch December 18, 2023 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
warning fix Compiler warning silencing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants