diff options
author | Even Rouault <even.rouault@spatialys.com> | 2021-12-03 14:27:10 +0100 |
---|---|---|
committer | Even Rouault <even.rouault@spatialys.com> | 2021-12-03 14:27:10 +0100 |
commit | d2f1c1666207c4fb69107d7aa8b863b1cc57a2cd (patch) | |
tree | 56224c008ed4d88f7c24cc3383f84009e51681d7 | |
parent | 27f399af36b78aab1ff66e614b863bd0053da9f0 (diff) | |
download | libtiff-git-d2f1c1666207c4fb69107d7aa8b863b1cc57a2cd.tar.gz |
TIFFReInitJPEG_12(): avoid warning about unused variable in -DNDEBUG
-rw-r--r-- | libtiff/tif_jpeg_12.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)); |