mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Remove unused variable to fix compiler warning in _threadmodule.c (GH-19064)
This commit is contained in:
parent
d112c600ab
commit
3cde88439d
1 changed files with 0 additions and 2 deletions
|
@ -1001,10 +1001,8 @@ t_bootstrap(void *boot_raw)
|
||||||
{
|
{
|
||||||
struct bootstate *boot = (struct bootstate *) boot_raw;
|
struct bootstate *boot = (struct bootstate *) boot_raw;
|
||||||
PyThreadState *tstate;
|
PyThreadState *tstate;
|
||||||
_PyRuntimeState *runtime;
|
|
||||||
PyObject *res;
|
PyObject *res;
|
||||||
|
|
||||||
runtime = boot->runtime;
|
|
||||||
tstate = boot->tstate;
|
tstate = boot->tstate;
|
||||||
tstate->thread_id = PyThread_get_thread_ident();
|
tstate->thread_id = PyThread_get_thread_ident();
|
||||||
_PyThreadState_Init(tstate);
|
_PyThreadState_Init(tstate);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue