summaryrefslogtreecommitdiffstats
path: root/Modules/gcmodule.c
diff options
context:
space:
mode:
authorVladimir Marangozov <vladimir.marangozov@t-online.de>2000-07-10 05:37:39 (GMT)
committerVladimir Marangozov <vladimir.marangozov@t-online.de>2000-07-10 05:37:39 (GMT)
commitb16714b4d0657829d4050058b240f0390c61018f (patch)
tree416f372669fb1c8f9469d74c21f515654e7f6acd /Modules/gcmodule.c
parent14a4d88a2eb576f66573bbae3db46065e26bccd2 (diff)
downloadcpython-b16714b4d0657829d4050058b240f0390c61018f.zip
cpython-b16714b4d0657829d4050058b240f0390c61018f.tar.gz
cpython-b16714b4d0657829d4050058b240f0390c61018f.tar.bz2
Initialize the return value in collect_generations() since it is updated
conditionally in the code.
Diffstat (limited to 'Modules/gcmodule.c')
-rw-r--r--Modules/gcmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c
index 8c0dc3d..43acbef 100644
--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -455,7 +455,7 @@ collect_generations(void)
{
static long collections0 = 0;
static long collections1 = 0;
- long n;
+ long n = 0;
if (collections1 > threshold2) {