From: Guido van Rossum Date: Tue, 8 Oct 2002 14:50:55 +0000 (+0000) Subject: Initialize tick_counter to 0. Found by Neal Norwitz. X-Git-Tag: v2.2.2~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb857ac4e6375f14c2f1d0c6289d4d1db3ea348d;p=thirdparty%2FPython%2Fcpython.git Initialize tick_counter to 0. Found by Neal Norwitz. --- diff --git a/Python/pystate.c b/Python/pystate.c index faf55f1a3548..e6b0d84f2dae 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;