tif_lzw.c: silence compiler warning about set but not used variable with recent clang

This commit is contained in:
Even Rouault 2021-09-17 16:49:56 +02:00 committed by Vadim Zeitlin
parent 28ce1ef089
commit 4610f67218

View File

@ -1107,6 +1107,7 @@ LZWPostEncode(TIFF* tif)
if (nextbits > 0) if (nextbits > 0)
*op++ = (unsigned char)((nextdata << (8-nextbits))&0xff); *op++ = (unsigned char)((nextdata << (8-nextbits))&0xff);
tif->tif_rawcc = (tmsize_t)(op - tif->tif_rawdata); tif->tif_rawcc = (tmsize_t)(op - tif->tif_rawdata);
(void)outcount;
return (1); return (1);
} }