Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f86d1e8

Browse files
committed
Silence gcc (4.0.x) warning about use of uninitialized value.
1 parent 54ac294 commit f86d1e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/cStringIO.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ IO_cread(PyObject *self, char **output, Py_ssize_t n) {
173173
static PyObject *
174174
IO_read(IOobject *self, PyObject *args) {
175175
Py_ssize_t n = -1;
176-
char *output;
176+
char *output = NULL;
177177

178178
UNLESS (PyArg_ParseTuple(args, "|n:read", &n)) return NULL;
179179

0 commit comments

Comments
 (0)