Skip to content

Commit

Permalink
Merge pull request numpy#14108 from cgohlke/patch-2
Browse files Browse the repository at this point in the history
BUG: initialize variable that is passed by pointer
  • Loading branch information
charris authored Jul 25, 2019
2 parents 3251dc2 + 602bc6f commit 9259a7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion numpy/core/src/umath/ufunc_type_resolution.c
Original file line number Diff line number Diff line change
Expand Up @@ -1958,7 +1958,8 @@ linear_search_type_resolver(PyUFuncObject *self,
npy_intp i, j, nin = self->nin, nop = nin + self->nout;
int types[NPY_MAXARGS];
const char *ufunc_name;
int no_castable_output, use_min_scalar;
int no_castable_output = 0;
int use_min_scalar;

/* For making a better error message on coercion error */
char err_dst_typecode = '-', err_src_typecode = '-';
Expand Down

0 comments on commit 9259a7f

Please sign in to comment.