tif_pixarlog.c: remove dead code. CID 1400342

This commit is contained in:
Even Rouault 2019-03-23 11:21:24 +01:00
parent c12b6a2a39
commit f4b7eb7cd3
No known key found for this signature in database
GPG Key ID: 33EBBFC47B3DD87D

View File

@ -819,9 +819,7 @@ PixarLogDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s)
TIFFErrorExt(tif->tif_clientdata, module, TIFFErrorExt(tif->tif_clientdata, module,
"Decoding error at scanline %lu, %s", "Decoding error at scanline %lu, %s",
(unsigned long) tif->tif_row, sp->stream.msg ? sp->stream.msg : "(null)"); (unsigned long) tif->tif_row, sp->stream.msg ? sp->stream.msg : "(null)");
/* if (inflateSync(&sp->stream) != Z_OK) */
return (0); return (0);
continue;
} }
if (state != Z_OK) { if (state != Z_OK) {
TIFFErrorExt(tif->tif_clientdata, module, "ZLib error: %s", TIFFErrorExt(tif->tif_clientdata, module, "ZLib error: %s",