Skip to content

Commit 829abfa

Browse files
committed
Fix unused variable warning
1 parent 32e2acd commit 829abfa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Objects/typeobject.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ managed_static_type_state_init(PyInterpreterState *interp, PyTypeObject *self,
237237
int64_t prev_interp_count = _Py_atomic_add_int64(
238238
&_PyRuntime.types.managed_static.types[full_index].interp_count, 1);
239239
assert((initial == 1) == (prev_interp_count == 0));
240+
(void)prev_interp_count;
240241

241242
if (initial) {
242243
assert(_PyRuntime.types.managed_static.types[full_index].type == NULL);

0 commit comments

Comments
 (0)