summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-04-02 16:17:59 (GMT)
committerBrett Cannon <brett@python.org>2012-04-02 16:17:59 (GMT)
commit368b4b74050290a77f32cafa8c7fac3542bc6308 (patch)
tree88affda2c3eb36011151ec3145bceb624df0d11c /Python
parent2247775bfa38f27aa3b36b7740cf2cec98356235 (diff)
downloadcpython-368b4b74050290a77f32cafa8c7fac3542bc6308.zip
cpython-368b4b74050290a77f32cafa8c7fac3542bc6308.tar.gz
cpython-368b4b74050290a77f32cafa8c7fac3542bc6308.tar.bz2
Guard an LLTRACE variable to silence an unused variable warning.
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index ae0bd24..7908d44 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -822,7 +822,9 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
PyObject *names;
PyObject *consts;
+#ifdef LLTRACE
_Py_IDENTIFIER(__ltrace__);
+#endif
/* Computed GOTOs, or
the-optimization-commonly-but-improperly-known-as-"threaded code"