Merge branch 'fix-unused-warning' into 'master'

warnings: mark conditionally used parameters

See merge request libtiff/libtiff!49
This commit is contained in:
Even Rouault 2020-02-26 21:31:27 +00:00
commit bf53c80aea

View File

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