]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove unused variable to fix compiler warning in _threadmodule.c (GH-19064)
authorPablo Galindo <Pablogsal@gmail.com>
Wed, 18 Mar 2020 23:33:57 +0000 (23:33 +0000)
committerGitHub <noreply@github.com>
Wed, 18 Mar 2020 23:33:57 +0000 (23:33 +0000)
Modules/_threadmodule.c

index 544bfdc13776239b711dd487152034cffba3309c..bd8a40f0c94b5b5a2a45548465115ea6741ac288 100644 (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);