summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2006-03-01 22:15:15 (GMT)
committerThomas Wouters <thomas@python.org>2006-03-01 22:15:15 (GMT)
commitf86d1e810d5827c46f3d7fc519e308e310406941 (patch)
treed84de9dd1ffa40e93b136ce612f9db9478461773 /Modules
parent54ac29497ea7f47852ec6f3ffb2570bbc29ce847 (diff)
downloadcpython-f86d1e810d5827c46f3d7fc519e308e310406941.zip
cpython-f86d1e810d5827c46f3d7fc519e308e310406941.tar.gz
cpython-f86d1e810d5827c46f3d7fc519e308e310406941.tar.bz2
Silence gcc (4.0.x) warning about use of uninitialized value.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/cStringIO.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cStringIO.c b/Modules/cStringIO.c
index 0b4faa3..385999f 100644
--- 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;