summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-03-18 23:33:57 (GMT)
committerGitHub <noreply@github.com>2020-03-18 23:33:57 (GMT)
commit3cde88439d542ed8ca6395acc8dfffd174ecca18 (patch)
treebf5657b52cb795b6c96d61d2046107e0406d4f9a /Modules
parentd112c600ab3f5e2910345bcc4bfc39439917ed87 (diff)
downloadcpython-3cde88439d542ed8ca6395acc8dfffd174ecca18.zip
cpython-3cde88439d542ed8ca6395acc8dfffd174ecca18.tar.gz
cpython-3cde88439d542ed8ca6395acc8dfffd174ecca18.tar.bz2
Remove unused variable to fix compiler warning in _threadmodule.c (GH-19064)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_threadmodule.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/_threadmodule.c b/Modules/_threadmodule.c
index 544bfdc..bd8a40f 100644
--- a/Modules/_threadmodule.c
+++ b/Modules/_threadmodule.c
@@ -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);