mirror of https://github.com/python/cpython
Initialize a variable. Hope this makes things work for Guido.
It's odd that gcc on my ibook didn't complain about this.
This commit is contained in:
parent
acd5cb2ff0
commit
ac74f5d44b
|
@ -146,7 +146,7 @@ mro_subclasses(PyTypeObject *type)
|
||||||
{
|
{
|
||||||
PyTypeObject *subclass;
|
PyTypeObject *subclass;
|
||||||
PyObject *ref, *subclasses, *old_mro;
|
PyObject *ref, *subclasses, *old_mro;
|
||||||
int i, n, r;
|
int i, n, r = 0;
|
||||||
|
|
||||||
subclasses = type->tp_subclasses;
|
subclasses = type->tp_subclasses;
|
||||||
if (subclasses == NULL)
|
if (subclasses == NULL)
|
||||||
|
|
Loading…
Reference in New Issue