From 531396c764d12ca6ec02a4e199350fee1879499a Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Fri, 17 Jun 2016 13:25:01 +0300 Subject: Issue #27336: Fix compilation failures --without-threads --- Python/traceback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/traceback.c') diff --git a/Python/traceback.c b/Python/traceback.c index 62a6b1e1a2..59552cae85 100644 --- a/Python/traceback.c +++ b/Python/traceback.c @@ -745,7 +745,7 @@ _Py_DumpTracebackThreads(int fd, PyInterpreterState *interp, if (current_tstate == NULL) { /* Call _PyThreadState_UncheckedGet() instead of PyThreadState_Get() to not fail with a fatal error if the thread state is NULL. */ - current_thread = _PyThreadState_UncheckedGet(); + current_tstate = _PyThreadState_UncheckedGet(); } if (interp == NULL) { -- cgit v1.2.1