Skip to content

Commit db8676b

Browse files
committed
Fix _PyThreadState_PopCStackRef
1 parent d3adca1 commit db8676b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Include/internal/pycore_stackref.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,6 @@ _PyThreadState_PopCStackRef(PyThreadState *tstate, _PyCStackRef *ref)
657657
#ifdef Py_GIL_DISABLED
658658
_PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
659659
assert(tstate_impl->c_stack_refs == ref);
660-
_PyCStackRef *ref = tstate_impl->c_stack_refs;
661660
tstate_impl->c_stack_refs = ref->next;
662661
#endif
663662
PyStackRef_XCLOSE(ref->ref);

0 commit comments

Comments
 (0)