This DecompressBlock thing is used only if defined(MAGICKCORE_ZLIB_DELEGATE) but defined to return NULL otherwise, which causes a compiler warning.coders/mat.c:450:15: warning: 'DecompressBlock' defined but not used
It should be defined only if defined(MAGICKCORE_ZLIB_DELEGATE).
If you insist, make it a macro:
Code: Select all
#if defined(MAGICKCORE_ZLIB_DELEGATE)
yadda yadda yadda
#else
#define DecompressBlock(A,B,C,D) (NULL)
#endif