summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2018-05-03 17:43:39 +0300
committermattip <matti.picus@gmail.com>2018-05-03 17:43:39 +0300
commit73a49c5f80e488604c2f98e8f933cab01760e593 (patch)
treeb6e5bbb4945c5909b3ada71b38aeb809e95dc74d /numpy
parentb946795bd64d34147f3486e97246ed1f6a4a0937 (diff)
downloadnumpy-73a49c5f80e488604c2f98e8f933cab01760e593.tar.gz
BUG: reduce warnings from clang and initialize value before use
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/umath/ufunc_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/umath/ufunc_object.c b/numpy/core/src/umath/ufunc_object.c
index 36b77ef03..47520fe57 100644
--- a/numpy/core/src/umath/ufunc_object.c
+++ b/numpy/core/src/umath/ufunc_object.c
@@ -3563,7 +3563,7 @@ PyUFunc_Reduceat(PyUFuncObject *ufunc, PyArrayObject *arr, PyArrayObject *ind,
op_axes_arrays[2]};
npy_uint32 op_flags[3];
int i, idim, ndim, otype_final;
- int need_outer_iterator;
+ int need_outer_iterator=0;
NpyIter *iter = NULL;