summaryrefslogtreecommitdiff
path: root/Python/traceback.c
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-06-17 13:25:01 +0300
committerBerker Peksag <berker.peksag@gmail.com>2016-06-17 13:25:01 +0300
commit531396c764d12ca6ec02a4e199350fee1879499a (patch)
tree0ac3177f163f5ab95931947e6f6229e63291063b /Python/traceback.c
parentd4b45cb9ca426df78aee5ceb53b65aa826498186 (diff)
downloadcpython-git-531396c764d12ca6ec02a4e199350fee1879499a.tar.gz
Issue #27336: Fix compilation failures --without-threads
Diffstat (limited to 'Python/traceback.c')
-rw-r--r--Python/traceback.c2
1 files changed, 1 insertions, 1 deletions
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) {