Skip to content

Commit fd477ca

Browse files
committed
fix unused error
1 parent 1aaa428 commit fd477ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/dictobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7509,8 +7509,8 @@ int
75097509
_PyObject_StoreInstanceAttribute(PyObject *obj, PyObject *name, PyObject *value)
75107510
{
75117511
PyDictValues *values = _PyObject_InlineValues(obj);
7512-
uint8_t valid;
75137512
#ifdef Py_GIL_DISABLED
7513+
uint8_t valid;
75147514
try_store_instance_attr_result_t try_res = {TRY_STORE_ATTR_ALREADY_VALID, 0};
75157515
while (!(valid = FT_ATOMIC_LOAD_UINT8(values->valid))) {
75167516
// Retry if the managed dict changes before we can lock and validate it.

0 commit comments

Comments
 (0)