Fix for unused parameter warning on posix

This commit is contained in:
Matthew Versluys 2016-05-15 12:08:47 -07:00
parent 4d352ff01b
commit 93f3ff3bb8

View File

@ -75,6 +75,7 @@ static int is_directory(zip_uint8_t opsys, zip_uint32_t attrib)
static int write_link(const char* filename, const char* bytes, size_t count)
{
#if PLATFORM_POSIX
(void)(count);
return symlink(bytes, filename);
#else
FILE* fp = fopen(filename, "wb");