From ac74f5d44b358b331fc46c7ad7f92698e20510f2 Mon Sep 17 00:00:00 2001 From: "Michael W. Hudson" Date: Tue, 26 Nov 2002 17:49:11 +0000 Subject: [PATCH] Initialize a variable. Hope this makes things work for Guido. It's odd that gcc on my ibook didn't complain about this. --- Objects/typeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 995d85f7ebf..a5779ef3fe2 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)