Skip to content

Commit

Permalink
Remove unused variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
0-wiz-0 committed Mar 4, 2025
1 parent a579a26 commit 4be9dcf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/zip_file_set_encryption.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
ZIP_EXTERN int
zip_file_set_encryption(zip_t *za, zip_uint64_t idx, zip_uint16_t method, const char *password) {
zip_entry_t *e;
zip_uint16_t old_method;
char *our_password = NULL;

if (idx >= za->nentry) {
Expand Down
1 change: 0 additions & 1 deletion lib/zip_set_file_compression.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
ZIP_EXTERN int
zip_set_file_compression(zip_t *za, zip_uint64_t idx, zip_int32_t method, zip_uint32_t flags) {
zip_entry_t *e;
zip_int32_t old_method;

if (idx >= za->nentry) {
zip_error_set(&za->error, ZIP_ER_INVAL, 0);
Expand Down

0 comments on commit 4be9dcf

Please sign in to comment.