diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-05-09 19:07:14 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-09 19:07:14 -0600 |
commit | 3ef81bf7d8864beb53c8873bcdb78b4a7e90600e (patch) | |
tree | 714cdabf007d7c7807e7fff1a2ea47e32b23cada | |
parent | 0214bdb822ce2496b92fdd18f0a1ce4e5ab5aeef (diff) | |
parent | 17c61460bca7b6bd1839e00a3d9d249cc1ff49df (diff) | |
download | numpy-3ef81bf7d8864beb53c8873bcdb78b4a7e90600e.tar.gz |
Merge pull request #11037 from mattip/clang-warnings
BUG: initialize value before use
-rw-r--r-- | numpy/core/src/umath/ufunc_object.c | 2 |
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..072c0f66e 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; |