We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f2e4ac commit dcd7db2Copy full SHA for dcd7db2
src/isal/igzip_lib.pyx
@@ -481,9 +481,8 @@ cdef class IgzipDecompressor:
481
return b""
482
if self.eof:
483
self.needs_input = False
484
- if self.avail_in_real > 0:
485
- new_data = PyBytes_FromStringAndSize(<char *>self.stream.next_in, self.avail_in_real)
486
- self.unused_data = self._view_bitbuffer() + new_data
+ new_data = PyBytes_FromStringAndSize(<char *>self.stream.next_in, self.avail_in_real)
+ self.unused_data = self._view_bitbuffer() + new_data
487
elif self.avail_in_real == 0:
488
self.stream.next_in = NULL
489
self.needs_input = True
0 commit comments