Skip to content

Commit 8a1edd8

Browse files
committed
misc cleanup
1 parent 518d5c5 commit 8a1edd8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Objects/bytearrayobject.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2533,10 +2533,6 @@ bytearrayiter_next(PyObject *self)
25332533
val = (unsigned char)PyByteArray_AS_STRING(seq)[index];
25342534
}
25352535
else {
2536-
val = -1;
2537-
}
2538-
2539-
if (val == -1) {
25402536
FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, -1);
25412537
#ifndef Py_GIL_DISABLED
25422538
it->it_seq = NULL;

0 commit comments

Comments
 (0)