summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseberg <sebastian@sipsolutions.net>2015-04-24 11:16:22 +0200
committerseberg <sebastian@sipsolutions.net>2015-04-24 11:16:22 +0200
commitfa9e8c4a6f8eb5e5a72382cad226b881c0acdc52 (patch)
tree624427ea1ecc46d49953f089a8e9dcfac01f9c4b
parentd61152aaab001403561f9ff4666166a798948d30 (diff)
parentd37229972539fdc1e6d4a812758380a758461654 (diff)
downloadnumpy-fa9e8c4a6f8eb5e5a72382cad226b881c0acdc52.tar.gz
Merge pull request #5792 from jaimefrio/unused_vars
MANT: Remove unused variables from _PyArray_DescrHashImp
-rw-r--r--numpy/core/src/multiarray/hashdescr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/core/src/multiarray/hashdescr.c b/numpy/core/src/multiarray/hashdescr.c
index 3981ccc0e..6ed4f7905 100644
--- a/numpy/core/src/multiarray/hashdescr.c
+++ b/numpy/core/src/multiarray/hashdescr.c
@@ -257,8 +257,7 @@ static int _array_descr_walk(PyArray_Descr* descr, PyObject *l)
*/
static int _PyArray_DescrHashImp(PyArray_Descr *descr, npy_hash_t *hash)
{
- PyObject *l, *tl, *item;
- Py_ssize_t i;
+ PyObject *l, *tl;
int st;
l = PyList_New(0);