aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/ZipArchive
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-30 00:50:01 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-30 00:50:01 +0100
commit8bf6ae872951849b0c4f08c9e270004731a5a46b (patch)
treec0260f7ceb88d983e122829ddb750a763e27c36f /WireGuard/WireGuard/ZipArchive
parentVPN: Better error messages (diff)
downloadwireguard-apple-8bf6ae872951849b0c4f08c9e270004731a5a46b.tar.xz
wireguard-apple-8bf6ae872951849b0c4f08c9e270004731a5a46b.zip
ZIP: fix linter warnings
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard/WireGuard/ZipArchive')
-rw-r--r--WireGuard/WireGuard/ZipArchive/3rdparty/minizip/unzip.c2
-rw-r--r--WireGuard/WireGuard/ZipArchive/3rdparty/minizip/zip.c2
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 bcfb9416..1b3fa2dc 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 44e88a9c..27a48bfd 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