diff options
author | Michael W. Hudson <mwh@python.net> | 2002-11-26 17:49:11 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2002-11-26 17:49:11 (GMT) |
commit | ac74f5d44b358b331fc46c7ad7f92698e20510f2 (patch) | |
tree | 2694fb69070bfede03541c71087e625a61f369a4 /Objects | |
parent | acd5cb2ff075e9ef3d0952806dbe1ef9a2f00882 (diff) | |
download | cpython-ac74f5d44b358b331fc46c7ad7f92698e20510f2.zip cpython-ac74f5d44b358b331fc46c7ad7f92698e20510f2.tar.gz cpython-ac74f5d44b358b331fc46c7ad7f92698e20510f2.tar.bz2 |
Initialize a variable. Hope this makes things work for Guido.
It's odd that gcc on my ibook didn't complain about this.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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) |