From: Vladimir Marangozov Date: Mon, 10 Jul 2000 05:37:39 +0000 (+0000) Subject: Initialize the return value in collect_generations() since it is updated X-Git-Tag: v2.0b1~941 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b16714b4d0657829d4050058b240f0390c61018f;p=thirdparty%2FPython%2Fcpython.git Initialize the return value in collect_generations() since it is updated conditionally in the code. --- diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index 8c0dc3d528e4..43acbef6d22d 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) {