From 4cc4e12336f363e68042b76e14cfe2bff7f65c91 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Fri, 2 Aug 2024 17:30:37 +0200 Subject: [PATCH] Remove unused variable --- lib/zip_open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zip_open.c b/lib/zip_open.c index b7d0bcce2..5d53540c3 100644 --- a/lib/zip_open.c +++ b/lib/zip_open.c @@ -697,7 +697,7 @@ find_eocd(zip_buffer_t *buffer, const unsigned char *last) { static zip_cdir_t * _zip_read_eocd(zip_buffer_t *buffer, zip_uint64_t buf_offset, unsigned int flags, zip_error_t *error) { zip_cdir_t *cd; - zip_uint16_t this_disk, eocd_disk, num_disks; + zip_uint16_t this_disk, eocd_disk; zip_uint64_t i, nentry, size, offset, eocd_offset; if (_zip_buffer_left(buffer) < EOCDLEN) {