[Python-checkins] python/dist/src/Modules bz2module.c,1.2,1.3
niemeyer@users.sourceforge.net
niemeyer@users.sourceforge.net
Tue, 05 Nov 2002 10:41:55 -0800
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv29909
Modified Files:
bz2module.c
Log Message:
* bzmodule.c
More fixes of XDECREF'd values not initialized.
Index: bz2module.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/bz2module.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** bz2module.c 5 Nov 2002 18:17:32 -0000 1.2
--- bz2module.c 5 Nov 2002 18:41:53 -0000 1.3
***************
*** 1427,1431 ****
int bufsize = SMALLCHUNK;
long totalout;
! PyObject *ret;
bz_stream *bzs = &self->bzs;
int bzerror;
--- 1427,1431 ----
int bufsize = SMALLCHUNK;
long totalout;
! PyObject *ret = NULL;
bz_stream *bzs = &self->bzs;
int bzerror;
***************
*** 1496,1500 ****
{
int bufsize = SMALLCHUNK;
! PyObject *ret;
bz_stream *bzs = &self->bzs;
int totalout;
--- 1496,1500 ----
{
int bufsize = SMALLCHUNK;
! PyObject *ret = NULL;
bz_stream *bzs = &self->bzs;
int totalout;
***************
*** 1906,1910 ****
int datasize;
int bufsize;
! PyObject *ret;
bz_stream _bzs;
bz_stream *bzs = &_bzs;
--- 1906,1910 ----
int datasize;
int bufsize;
! PyObject *ret = NULL;
bz_stream _bzs;
bz_stream *bzs = &_bzs;