diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-30 00:50:01 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-30 00:50:01 +0100 |
commit | 8bf6ae872951849b0c4f08c9e270004731a5a46b (patch) | |
tree | c0260f7ceb88d983e122829ddb750a763e27c36f /WireGuard | |
parent | VPN: Better error messages (diff) | |
download | wireguard-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')
-rw-r--r-- | WireGuard/WireGuard/ZipArchive/3rdparty/minizip/unzip.c | 2 | ||||
-rw-r--r-- | 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 |