fix warnings: unused-parameter
This commit is contained in:
parent
9859befc64
commit
2990ced921
@ -280,6 +280,7 @@ struct mz_zip_internal_state_tag
|
||||
#if defined(DEBUG) || defined(_DEBUG) || defined(NDEBUG)
|
||||
static MZ_FORCEINLINE mz_uint mz_zip_array_range_check(const mz_zip_array *pArray, mz_uint index)
|
||||
{
|
||||
(void)pArray;
|
||||
MZ_ASSERT(index < pArray->m_size);
|
||||
return index;
|
||||
}
|
||||
@ -3213,6 +3214,8 @@ mz_bool mz_zip_writer_add_mem_ex_v2(mz_zip_archive *pZip, const char *pArchive_n
|
||||
time(&cur_time);
|
||||
mz_zip_time_t_to_dos_time(cur_time, &dos_time, &dos_date);
|
||||
}
|
||||
#else
|
||||
(void)last_modified;
|
||||
#endif /* #ifndef MINIZ_NO_TIME */
|
||||
|
||||
if (!(level_and_flags & MZ_ZIP_FLAG_COMPRESSED_DATA))
|
||||
@ -3512,6 +3515,8 @@ mz_bool mz_zip_writer_add_read_buf_callback(mz_zip_archive *pZip, const char *pA
|
||||
{
|
||||
mz_zip_time_t_to_dos_time(*pFile_time, &dos_time, &dos_date);
|
||||
}
|
||||
#else
|
||||
(void)pFile_time;
|
||||
#endif
|
||||
|
||||
if (uncomp_size <= 3)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user