Skip to content

Commit 0c2466a

Browse files
We can just make it a plain assignment, 1a9cdaf was 3.15+ anyway.
1 parent c36ef35 commit 0c2466a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_bz2module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ decompress_buf(BZ2Decompressor *d, Py_ssize_t max_length)
456456

457457
if (catch_bz2_error(bzret)) {
458458
d->bzerror = bzret;
459-
_Py_atomic_store_char_relaxed(&d->needs_input, 0);
459+
d->needs_input = 0;
460460
goto error;
461461
}
462462
if (bzret == BZ_STREAM_END) {

0 commit comments

Comments
 (0)