From d2f1c1666207c4fb69107d7aa8b863b1cc57a2cd Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 3 Dec 2021 14:27:10 +0100 Subject: TIFFReInitJPEG_12(): avoid warning about unused variable in -DNDEBUG --- libtiff/tif_jpeg_12.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libtiff/tif_jpeg_12.c b/libtiff/tif_jpeg_12.c index cf09532d..f71da07e 100644 --- a/libtiff/tif_jpeg_12.c +++ b/libtiff/tif_jpeg_12.c @@ -17,6 +17,7 @@ int TIFFReInitJPEG_12(TIFF *tif, const JPEGOtherSettings *otherSettings, JPEGState *sp; uint8_t *new_tif_data; + (void)scheme; assert(scheme == COMPRESSION_JPEG); new_tif_data = (uint8_t *)_TIFFrealloc(tif->tif_data, sizeof(JPEGState)); -- cgit v1.2.1