diff --git a/source/detail/miniz.cpp b/source/detail/miniz.cpp index 1cc83151..94055817 100755 --- a/source/detail/miniz.cpp +++ b/source/detail/miniz.cpp @@ -34,6 +34,7 @@ #pragma clang diagnostic ignored "-Wunused-macros" #pragma clang diagnostic ignored "-Wconversion" #pragma clang diagnostic ignored "-Wundef" +#pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-W#pragma-messages" typedef unsigned char mz_validate_uint16[sizeof(mz_uint16) == 2 ? 1 : -1]; @@ -3170,7 +3171,7 @@ struct mz_zip_internal_state_tag #define MZ_ZIP_ARRAY_SET_ELEMENT_SIZE(array_ptr, element_size) (array_ptr)->m_element_size = element_size #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) +static MZ_FORCEINLINE mz_uint mz_zip_array_range_check(const mz_zip_array *pArray, mz_uint index) { MZ_ASSERT(index < pArray->m_size); return index;