From: Michael W. Hudson Date: Tue, 26 Nov 2002 17:49:11 +0000 (+0000) Subject: Initialize a variable. Hope this makes things work for Guido. X-Git-Tag: v2.3c1~3227 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac74f5d44b358b331fc46c7ad7f92698e20510f2;p=thirdparty%2FPython%2Fcpython.git Initialize a variable. Hope this makes things work for Guido. It's odd that gcc on my ibook didn't complain about this. --- diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 995d85f7ebf1..a5779ef3fe2d 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -146,7 +146,7 @@ mro_subclasses(PyTypeObject *type) { PyTypeObject *subclass; PyObject *ref, *subclasses, *old_mro; - int i, n, r; + int i, n, r = 0; subclasses = type->tp_subclasses; if (subclasses == NULL)