Skip to content
Prev Previous commit
Next Next commit
misc cleanup
  • Loading branch information
tom-pytel committed Feb 14, 2025
commit 8a1edd8254d78441ac254b8f1da5af91730c803d
4 changes: 0 additions & 4 deletions Objects/bytearrayobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -2533,10 +2533,6 @@ bytearrayiter_next(PyObject *self)
val = (unsigned char)PyByteArray_AS_STRING(seq)[index];
}
else {
val = -1;
}

if (val == -1) {
FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, -1);
#ifndef Py_GIL_DISABLED
it->it_seq = NULL;
Expand Down