summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-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 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;