From 4610f67218c86e15d69ddf2a14d5bb9b3e156563 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 17 Sep 2021 16:49:56 +0200 Subject: [PATCH] tif_lzw.c: silence compiler warning about set but not used variable with recent clang --- libtiff/tif_lzw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libtiff/tif_lzw.c b/libtiff/tif_lzw.c index d92d0fd3..5cb60b6a 100644 --- a/libtiff/tif_lzw.c +++ b/libtiff/tif_lzw.c @@ -1107,6 +1107,7 @@ LZWPostEncode(TIFF* tif) if (nextbits > 0) *op++ = (unsigned char)((nextdata << (8-nextbits))&0xff); tif->tif_rawcc = (tmsize_t)(op - tif->tif_rawdata); + (void)outcount; return (1); }