Mailing List Archive

python/dist/src/Objects typeobject.c,2.189,2.190
Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1:/tmp/cvs-serv3465

Modified Files:
typeobject.c
Log Message:
Initialize a variable. Hope this makes things work for Guido.

It's odd that gcc on my ibook didn't complain about this.


Index: typeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/typeobject.c,v
retrieving revision 2.189
retrieving revision 2.190
diff -C2 -d -r2.189 -r2.190
*** typeobject.c 26 Nov 2002 14:47:26 -0000 2.189
--- typeobject.c 26 Nov 2002 17:49:11 -0000 2.190
***************
*** 147,151 ****
PyTypeObject *subclass;
PyObject *ref, *subclasses, *old_mro;
! int i, n, r;

subclasses = type->tp_subclasses;
--- 147,151 ----
PyTypeObject *subclass;
PyObject *ref, *subclasses, *old_mro;
! int i, n, r = 0;

subclasses = type->tp_subclasses;