Fix for unused parameter warning on posix
This commit is contained in:
parent
4d352ff01b
commit
93f3ff3bb8
@ -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");
|
||||
|
Reference in New Issue
Block a user