From 8bf6ae872951849b0c4f08c9e270004731a5a46b Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 30 Oct 2018 00:50:01 +0100 Subject: [PATCH] ZIP: fix linter warnings Signed-off-by: Jason A. Donenfeld --- WireGuard/WireGuard/ZipArchive/3rdparty/minizip/unzip.c | 2 +- WireGuard/WireGuard/ZipArchive/3rdparty/minizip/zip.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WireGuard/WireGuard/ZipArchive/3rdparty/minizip/unzip.c b/WireGuard/WireGuard/ZipArchive/3rdparty/minizip/unzip.c index bcfb941..1b3fa2d 100644 --- a/WireGuard/WireGuard/ZipArchive/3rdparty/minizip/unzip.c +++ b/WireGuard/WireGuard/ZipArchive/3rdparty/minizip/unzip.c @@ -1162,7 +1162,7 @@ extern int ZEXPORT unzGetCurrentFileInfo (unzFile file, pfile_info->internal_fa = file_info64.internal_fa; pfile_info->external_fa = file_info64.external_fa; - pfile_info->tmu_date = file_info64.tmu_date, + pfile_info->tmu_date = file_info64.tmu_date; pfile_info->compressed_size = (uLong)file_info64.compressed_size; diff --git a/WireGuard/WireGuard/ZipArchive/3rdparty/minizip/zip.c b/WireGuard/WireGuard/ZipArchive/3rdparty/minizip/zip.c index 44e88a9..27a48bf 100644 --- a/WireGuard/WireGuard/ZipArchive/3rdparty/minizip/zip.c +++ b/WireGuard/WireGuard/ZipArchive/3rdparty/minizip/zip.c @@ -1067,7 +1067,7 @@ extern int ZEXPORT zipOpenNewFileInZip4_64 (zipFile file, const char* filename, int err = ZIP_OK; # ifdef NOCRYPT - (crcForCrypting); + (void)(crcForCrypting); if (password != NULL) return ZIP_PARAMERROR; # endif