From a978e75e7c613e859863454e3f1eda4f49edd164 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 11 Jan 2019 10:50:12 -0500 Subject: [PATCH] warnings: mark conditionally used parameters --- libtiff/tif_zip.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libtiff/tif_zip.c b/libtiff/tif_zip.c index b71c44e8..80f0dfe9 100644 --- a/libtiff/tif_zip.c +++ b/libtiff/tif_zip.c @@ -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.