warnings: mark conditionally used parameters

This commit is contained in:
Ben Boeckel 2019-01-11 10:50:12 -05:00
parent a0e273fdca
commit a978e75e7c

View File

@ -402,6 +402,9 @@ TIFFInitZIP(TIFF* tif, int scheme)
assert( (scheme == COMPRESSION_DEFLATE)
|| (scheme == COMPRESSION_ADOBE_DEFLATE));
#ifdef NDEBUG
(void)scheme;
#endif
/*
* Merge codec-specific tag information.