Remove unused variable to fix compiler warning in _threadmodule.c (GH-19064)

This commit is contained in:
Pablo Galindo 2020-03-18 23:33:57 +00:00 committed by GitHub
parent d112c600ab
commit 3cde88439d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -1001,10 +1001,8 @@ t_bootstrap(void *boot_raw)
{
struct bootstate *boot = (struct bootstate *) boot_raw;
PyThreadState *tstate;
_PyRuntimeState *runtime;
PyObject *res;
runtime = boot->runtime;
tstate = boot->tstate;
tstate->thread_id = PyThread_get_thread_ident();
_PyThreadState_Init(tstate);