diff options
author | Vladimir Marangozov <vladimir.marangozov@t-online.de> | 2000-07-10 05:37:39 (GMT) |
---|---|---|
committer | Vladimir Marangozov <vladimir.marangozov@t-online.de> | 2000-07-10 05:37:39 (GMT) |
commit | b16714b4d0657829d4050058b240f0390c61018f (patch) | |
tree | 416f372669fb1c8f9469d74c21f515654e7f6acd | |
parent | 14a4d88a2eb576f66573bbae3db46065e26bccd2 (diff) | |
download | cpython-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.
-rw-r--r-- | Modules/gcmodule.c | 2 |
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) { |