diff options
author | Travis Oliphant <oliphant@enthought.com> | 2007-04-27 20:37:55 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2007-04-27 20:37:55 +0000 |
commit | 4e442decf1b344458fe7ba68b58f1c3de8ca7590 (patch) | |
tree | f44838299e527d7c945f1ec8cc9dee7f234b5d13 | |
parent | 26a9e8134689af1b37b815f969283b42942ec194 (diff) | |
download | numpy-4e442decf1b344458fe7ba68b58f1c3de8ca7590.tar.gz |
Fix silly initialization of input variable.
-rw-r--r-- | numpy/core/src/multiarraymodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/multiarraymodule.c b/numpy/core/src/multiarraymodule.c index 04bdf24a2..cd062efae 100644 --- a/numpy/core/src/multiarraymodule.c +++ b/numpy/core/src/multiarraymodule.c @@ -3757,7 +3757,7 @@ PyArray_TakeFrom(PyArrayObject *self0, PyObject *indices0, int axis, char *src, *dest; int copyret=0; - indices = ret = NULL; + indices = NULL; self = (PyAO *)_check_axis(self0, &axis, CARRAY); if (self == NULL) return NULL; |