summaryrefslogtreecommitdiff
path: root/numpy/core/src/ufuncobject.c
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-10-08 13:34:09 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-10-08 13:34:09 +0000
commit0f3fbf1eab50c35199908a0532de82c0b4917024 (patch)
tree54b064e9717b309e7af9b910605b36692a278840 /numpy/core/src/ufuncobject.c
parentdd7abccf331365e58b867a5601db089a1c51444a (diff)
downloadnumpy-0f3fbf1eab50c35199908a0532de82c0b4917024.tar.gz
Use NPY_UNUSED in numpy.core sources.
Diffstat (limited to 'numpy/core/src/ufuncobject.c')
-rw-r--r--numpy/core/src/ufuncobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/src/ufuncobject.c b/numpy/core/src/ufuncobject.c
index ab4ecef75..d646dd6b9 100644
--- a/numpy/core/src/ufuncobject.c
+++ b/numpy/core/src/ufuncobject.c
@@ -3500,7 +3500,7 @@ fail:
}
static PyObject *
-ufunc_geterr(PyObject *dummy, PyObject *args)
+ufunc_geterr(PyObject *NPY_UNUSED(dummy), PyObject *args)
{
PyObject *thedict;
PyObject *res;
@@ -3563,7 +3563,7 @@ ufunc_update_use_defaults(void)
#endif
static PyObject *
-ufunc_seterr(PyObject *dummy, PyObject *args)
+ufunc_seterr(PyObject *NPY_UNUSED(dummy), PyObject *args)
{
PyObject *thedict;
int res;
@@ -3600,7 +3600,7 @@ static char
doc_frompyfunc[] = "frompyfunc(func, nin, nout) take an arbitrary python function that takes nin objects as input and returns nout objects and return a universal function (ufunc). This ufunc always returns PyObject arrays";
static PyObject *
-ufunc_frompyfunc(PyObject *dummy, PyObject *args, PyObject *kwds) {
+ufunc_frompyfunc(PyObject *NPY_UNUSED(dummy), PyObject *args, PyObject *NPY_UNUSED(kwds)) {
/* Keywords are ignored for now */
PyObject *function, *pyname=NULL;