diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-12-02 05:07:35 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-12-02 05:07:35 +0000 |
commit | 3a93adce6609cd3499d85c5f2b9dc38d3d1255c7 (patch) | |
tree | c965535dae00b60b48306a6d69b8ab9becac113d /numpy/core/src/ufuncobject.c | |
parent | 921fa088183b86dbaeb35a9c9af17980e7708a54 (diff) | |
download | numpy-3a93adce6609cd3499d85c5f2b9dc38d3d1255c7.tar.gz |
Fix warnings found by Intel compiler due to unused variables that were set. Make ones work for compound types.
Diffstat (limited to 'numpy/core/src/ufuncobject.c')
-rw-r--r-- | numpy/core/src/ufuncobject.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/core/src/ufuncobject.c b/numpy/core/src/ufuncobject.c index e707310fb..606cf1be8 100644 --- a/numpy/core/src/ufuncobject.c +++ b/numpy/core/src/ufuncobject.c @@ -1115,7 +1115,7 @@ static int construct_arrays(PyUFuncLoopObject *loop, PyObject *args, PyArrayObject **mps, PyObject *typetup) { - int nargs, i, maxsize; + int nargs, i; int arg_types[NPY_MAXARGS]; PyArray_SCALARKIND scalars[NPY_MAXARGS]; PyUFuncObject *self=loop->ufunc; @@ -1326,7 +1326,6 @@ construct_arrays(PyUFuncLoopObject *loop, PyObject *args, PyArrayObject **mps, if (loop->size == 0) return nargs; - maxsize = 0; for (i=0; i<self->nargs; i++) { loop->needbuffer[i] = 0; if (arg_types[i] != mps[i]->descr->type_num || |