tif_zip.c: remove dead code. CID 1400360

This commit is contained in:
Even Rouault 2019-03-23 11:25:44 +01:00
parent 301463dacf
commit b6b2f1ff5b
No known key found for this signature in database
GPG Key ID: 33EBBFC47B3DD87D

View File

@ -173,9 +173,7 @@ ZIPDecode(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, SAFE_MSG(sp)); (unsigned long) tif->tif_row, SAFE_MSG(sp));
/* if (inflateSync(&sp->stream) != Z_OK) */
return (0); return (0);
continue;
} }
if (state != Z_OK) { if (state != Z_OK) {
TIFFErrorExt(tif->tif_clientdata, module, TIFFErrorExt(tif->tif_clientdata, module,