]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Initialize the return value in collect_generations() since it is updated
authorVladimir Marangozov <vladimir.marangozov@t-online.de>
Mon, 10 Jul 2000 05:37:39 +0000 (05:37 +0000)
committerVladimir Marangozov <vladimir.marangozov@t-online.de>
Mon, 10 Jul 2000 05:37:39 +0000 (05:37 +0000)
conditionally in the code.

Modules/gcmodule.c

index 8c0dc3d528e4b0fcc2cf02609be6cfe2433a2cd0..43acbef6d22df1df37ca1ff57b5405bff611cecf 100644 (file)
@@ -455,7 +455,7 @@ collect_generations(void)
 {
        static long collections0 = 0;
        static long collections1 = 0;
-       long n;
+       long n = 0;
 
 
        if (collections1 > threshold2) {