Skip to content

Commit 3cde884

Browse files
authored
Remove unused variable to fix compiler warning in _threadmodule.c (GH-19064)
1 parent d112c60 commit 3cde884

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Modules/_threadmodule.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,10 +1001,8 @@ t_bootstrap(void *boot_raw)
10011001
{
10021002
struct bootstate *boot = (struct bootstate *) boot_raw;
10031003
PyThreadState *tstate;
1004-
_PyRuntimeState *runtime;
10051004
PyObject *res;
10061005

1007-
runtime = boot->runtime;
10081006
tstate = boot->tstate;
10091007
tstate->thread_id = PyThread_get_thread_ident();
10101008
_PyThreadState_Init(tstate);

0 commit comments

Comments
 (0)