diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2020-03-18 23:33:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-18 23:33:57 +0000 |
commit | 3cde88439d542ed8ca6395acc8dfffd174ecca18 (patch) | |
tree | bf5657b52cb795b6c96d61d2046107e0406d4f9a | |
parent | d112c600ab3f5e2910345bcc4bfc39439917ed87 (diff) | |
download | cpython-git-3cde88439d542ed8ca6395acc8dfffd174ecca18.tar.gz |
Remove unused variable to fix compiler warning in _threadmodule.c (GH-19064)
-rw-r--r-- | Modules/_threadmodule.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/_threadmodule.c b/Modules/_threadmodule.c index 544bfdc137..bd8a40f0c9 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); |