summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-01-21 19:39:54 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-01-21 19:39:54 +0000
commitf18a0fab69c9da73e3f30231403abede272de1c4 (patch)
treea05a7787648920a17368a6e1b2c6cd827bb526eb
parent4072234146d63644ed0e658f685a5575ca051d9d (diff)
downloadnumpy-f18a0fab69c9da73e3f30231403abede272de1c4.tar.gz
Fix uninitialized variable.
-rw-r--r--numpy/core/src/multiarraymodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarraymodule.c b/numpy/core/src/multiarraymodule.c
index f2573c1c0..79f634246 100644
--- a/numpy/core/src/multiarraymodule.c
+++ b/numpy/core/src/multiarraymodule.c
@@ -4402,7 +4402,7 @@ PyArray_FromString(char *data, intp slen, PyArray_Descr *dtype,
char *ptr;
PyArray_FromStrFunc *fromstr;
char *dptr;
- intp nread;
+ intp nread=0;
intp index;
fromstr = dtype->f->fromstr;