projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ac294
)
Silence gcc (4.0.x) warning about use of uninitialized value.
author
Thomas Wouters
<thomas@python.org>
Wed, 1 Mar 2006 22:15:15 +0000
(22:15 +0000)
committer
Thomas Wouters
<thomas@python.org>
Wed, 1 Mar 2006 22:15:15 +0000
(22:15 +0000)
Modules/cStringIO.c
patch
|
blob
|
history
diff --git
a/Modules/cStringIO.c
b/Modules/cStringIO.c
index 0b4faa388169d1c3cbe262e2e9cc9562ef00247c..385999fe38f8b565c6b0b161e45ef5e7186daa49 100644
(file)
--- a/
Modules/cStringIO.c
+++ b/
Modules/cStringIO.c
@@
-173,7
+173,7
@@
IO_cread(PyObject *self, char **output, Py_ssize_t n) {
static PyObject *
IO_read(IOobject *self, PyObject *args) {
Py_ssize_t n = -1;
- char *output;
+ char *output
= NULL
;
UNLESS (PyArg_ParseTuple(args, "|n:read", &n)) return NULL;