mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
apparently pArray is used in debug builds
This commit is contained in:
parent
fd737912ce
commit
5450a23be1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user