]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Initialize tick_counter to 0. Found by Neal Norwitz.
authorGuido van Rossum <guido@python.org>
Tue, 8 Oct 2002 14:50:55 +0000 (14:50 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 8 Oct 2002 14:50:55 +0000 (14:50 +0000)
Python/pystate.c

index faf55f1a3548303aa9d7ed5b139f1bc966d7f4b9..e6b0d84f2daee2b53532b8dece6bc11c91868b91 100644 (file)
@@ -137,6 +137,7 @@ PyThreadState_New(PyInterpreterState *interp)
                tstate->ticker = 0;
                tstate->tracing = 0;
                tstate->use_tracing = 0;
+               tstate->tick_counter = 0;
 
                tstate->dict = NULL;