diff Python/ceval.c @ 76072:bac033e488b4

Guard an LLTRACE variable to silence an unused variable warning.
author Brett Cannon <brett@python.org>
date Mon, 02 Apr 2012 12:17:59 -0400
parents c67f3681e032
children e3ab8aa0216c
line wrap: on
line diff
--- a/Python/ceval.c	Mon Apr 02 15:41:06 2012 +0000
+++ b/Python/ceval.c	Mon Apr 02 12:17:59 2012 -0400
@@ -822,7 +822,9 @@
     PyObject *names;
     PyObject *consts;
 
+#ifdef LLTRACE
     _Py_IDENTIFIER(__ltrace__);
+#endif
 
 /* Computed GOTOs, or
        the-optimization-commonly-but-improperly-known-as-"threaded code"