commit | ac74f5d44b358b331fc46c7ad7f92698e20510f2 | [log] [tgz] |
---|---|---|
author | Michael W. Hudson <mwh@python.net> | Tue Nov 26 17:49:11 2002 +0000 |
committer | Michael W. Hudson <mwh@python.net> | Tue Nov 26 17:49:11 2002 +0000 |
tree | 2694fb69070bfede03541c71087e625a61f369a4 | |
parent | acd5cb2ff075e9ef3d0952806dbe1ef9a2f00882 [diff] [blame] |
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 995d85f..a5779ef 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c
@@ -146,7 +146,7 @@ { PyTypeObject *subclass; PyObject *ref, *subclasses, *old_mro; - int i, n, r; + int i, n, r = 0; subclasses = type->tp_subclasses; if (subclasses == NULL)