]> granicus.if.org Git - python/commitdiff
One forgotten C profiling #ifdef
authorNicholas Bastin <nick.bastin@gmail.com>
Tue, 22 Jun 2004 04:18:47 +0000 (04:18 +0000)
committerNicholas Bastin <nick.bastin@gmail.com>
Tue, 22 Jun 2004 04:18:47 +0000 (04:18 +0000)
Python/ceval.c

index d5493cc0c64cc6386025c1298a7603524b88dd81..6bc35d078656436f5e07ac1411e41c1443e60def 100644 (file)
@@ -3488,9 +3488,10 @@ call_function(PyObject ***pp_stack, int oparg
        PyObject *func = *pfunc;
        PyObject *x, *w;
 
+#ifdef WITH_C_PROF
        int     are_tracing = 0;
-
        PyThreadState *tstate = PyThreadState_GET();
+#endif
 
        /* Always dispatch PyCFunction first, because these are
           presumed to be the most frequent callable object.