summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-10-08 14:50:55 (GMT)
committerGuido van Rossum <guido@python.org>2002-10-08 14:50:55 (GMT)
commitbb857ac4e6375f14c2f1d0c6289d4d1db3ea348d (patch)
tree951e6c37b2ea04194d5632d1364e55785e1c39b9 /Python
parent9096faf43a6802f9fa6295a8a5c5c656c04b8135 (diff)
downloadcpython-bb857ac4e6375f14c2f1d0c6289d4d1db3ea348d.zip
cpython-bb857ac4e6375f14c2f1d0c6289d4d1db3ea348d.tar.gz
cpython-bb857ac4e6375f14c2f1d0c6289d4d1db3ea348d.tar.bz2
Initialize tick_counter to 0. Found by Neal Norwitz.
Diffstat (limited to 'Python')
-rw-r--r--Python/pystate.c1
1 files changed, 1 insertions, 0 deletions
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;