Skip to content

Commit a8dfdbc

Browse files
committed
Fix unused variable warning
1 parent c3a7df1 commit a8dfdbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/typeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7164,9 +7164,9 @@ object_set_class(PyObject *self, PyObject *value, void *closure)
71647164
return -1;
71657165
}
71667166

7167-
int unique = _PyObject_IsUniquelyReferenced(self);
71687167
#ifdef Py_GIL_DISABLED
71697168
PyInterpreterState *interp = _PyInterpreterState_GET();
7169+
int unique = _PyObject_IsUniquelyReferenced(self);
71707170
if (!unique) {
71717171
_PyEval_StopTheWorld(interp);
71727172
}

0 commit comments

Comments
 (0)