From bb857ac4e6375f14c2f1d0c6289d4d1db3ea348d Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 8 Oct 2002 14:50:55 +0000 Subject: Initialize tick_counter to 0. Found by Neal Norwitz. --- Python/pystate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Python/pystate.c b/Python/pystate.c index faf55f1..e6b0d84 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -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; -- cgit v0.12