From: Pablo Galindo Date: Wed, 18 Mar 2020 23:33:57 +0000 (+0000) Subject: Remove unused variable to fix compiler warning in _threadmodule.c (GH-19064) X-Git-Tag: v3.9.0a5~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3cde88439d542ed8ca6395acc8dfffd174ecca18;p=thirdparty%2FPython%2Fcpython.git Remove unused variable to fix compiler warning in _threadmodule.c (GH-19064) --- diff --git a/Modules/_threadmodule.c b/Modules/_threadmodule.c index 544bfdc13776..bd8a40f0c94b 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);