mirror of
https://github.com/python/cpython.git
synced 2025-07-30 14:44:10 +00:00
Silence gcc (4.0.x) warning about use of uninitialized value.
This commit is contained in:
parent
54ac29497e
commit
f86d1e810d
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ IO_cread(PyObject *self, char **output, Py_ssize_t n) {
|
||||||
static PyObject *
|
static PyObject *
|
||||||
IO_read(IOobject *self, PyObject *args) {
|
IO_read(IOobject *self, PyObject *args) {
|
||||||
Py_ssize_t n = -1;
|
Py_ssize_t n = -1;
|
||||||
char *output;
|
char *output = NULL;
|
||||||
|
|
||||||
UNLESS (PyArg_ParseTuple(args, "|n:read", &n)) return NULL;
|
UNLESS (PyArg_ParseTuple(args, "|n:read", &n)) return NULL;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue