From 3cde88439d542ed8ca6395acc8dfffd174ecca18 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Wed, 18 Mar 2020 23:33:57 +0000 Subject: Remove unused variable to fix compiler warning in _threadmodule.c (GH-19064) --- Modules/_threadmodule.c | 2 -- 1 file changed, 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); -- cgit v0.12