Skip to content

Commit d676df1

Browse files
authored
return NULL
1 parent 0ecb1ff commit d676df1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_zstd/decompressor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ stream_decompress(ZstdDecompressor *self, Py_buffer *data, Py_ssize_t max_length
375375
if (self->eof) {
376376
PyErr_SetString(PyExc_EOFError, "Already at the end of a zstd frame.");
377377
assert(ret == NULL);
378-
return ret;
378+
return NULL;
379379
}
380380

381381
/* Prepare input buffer w/wo unconsumed data */

0 commit comments

Comments
 (0)