mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2026-01-18 01:30:09 +01:00
Remove dead code detected by Coverity.
This commit is contained in:
@@ -1300,9 +1300,7 @@ stream_inflate(pdfio_stream_t *st, // I - Stream
|
||||
}
|
||||
while (bytes > 0 && exactly);
|
||||
|
||||
if (exactly && bytes > 0)
|
||||
return (-1);
|
||||
else if (st->filter == PDFIO_FILTER_FLATE)
|
||||
if (st->filter == PDFIO_FILTER_FLATE)
|
||||
return (st->flate.next_out - (Bytef *)buffer);
|
||||
else
|
||||
return (st->lzw->next_out - (uint8_t *)buffer);
|
||||
|
||||
Reference in New Issue
Block a user