From 44faafe479fa1d6b203464812b4479be50dd1c70 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Wed, 16 Nov 2005 20:19:44 +0000 Subject: Fixed some issues with fromfile and hopefully with mingw32 compilations. --- scipy/base/src/arraymethods.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scipy/base/src/arraymethods.c') diff --git a/scipy/base/src/arraymethods.c b/scipy/base/src/arraymethods.c index 14060f5ac..79eecafda 100644 --- a/scipy/base/src/arraymethods.c +++ b/scipy/base/src/arraymethods.c @@ -401,7 +401,7 @@ array_tofile(PyArrayObject *self, PyObject *args, PyObject *kwds) FILE *fd; char *sep=""; char *format=""; - char *mode; + char *mode=""; static char *kwlist[] = {"file", "sep", "format", NULL}; if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|ss", kwlist, -- cgit v1.2.1