summaryrefslogtreecommitdiff
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-04-02 12:17:59 -0400
committerBrett Cannon <brett@python.org>2012-04-02 12:17:59 -0400
commite511dcc4e34ada4889ccc1d20fb3416b0add9fcb (patch)
tree4d867cbd262fbd31dc2113101a74e3af446c8134 /Python/ceval.c
parentb31f5ed3115815e47c0e9f520f941775809ad4d7 (diff)
downloadcpython-e511dcc4e34ada4889ccc1d20fb3416b0add9fcb.tar.gz
Guard an LLTRACE variable to silence an unused variable warning.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index ae0bd242a0..7908d444e1 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"