diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/src/multiarraymodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/src/multiarraymodule.c b/numpy/core/src/multiarraymodule.c index 600a00852..c63ebff6c 100644 --- a/numpy/core/src/multiarraymodule.c +++ b/numpy/core/src/multiarraymodule.c @@ -26,7 +26,6 @@ static PyObject *typeDict=NULL; /* Must be explicitly loaded */ -static PyObject *_internal_pname=NULL; static PyArray_Descr * _arraydescr_fromobj(PyObject *obj) @@ -4931,7 +4930,8 @@ then it will be checked for conformity and used directly. static PyArray_Descr * _use_fields_dict(PyObject *obj, int align) { - PyObject *_numpy_internal, *res; + PyObject *_numpy_internal; + PyArray_Descr *res; _numpy_internal = PyImport_ImportModule("numpy.core._internal"); if (_numpy_internal == NULL) return NULL; res = (PyArray_Descr *)PyObject_CallMethod(_numpy_internal, |