fix -Wextra in Mesh

This commit is contained in:
wmayer
2016-09-23 17:24:00 +02:00
parent d88ecd5f56
commit f6e1cb6025
33 changed files with 646 additions and 574 deletions

View File

@@ -57,7 +57,7 @@ PyObject *MeshPointPy::PyMake(struct _typeobject *, PyObject *, PyObject *) //
}
// constructor method
int MeshPointPy::PyInit(PyObject* args, PyObject*k)
int MeshPointPy::PyInit(PyObject* args, PyObject* /*kwds*/)
{
double x=0.0,y=0.0,z=0.0;
if (!PyArg_ParseTuple(args, "|ddd", &x,&y,&z))
@@ -69,6 +69,8 @@ int MeshPointPy::PyInit(PyObject* args, PyObject*k)
PyObject* MeshPointPy::unbound(PyObject *args)
{
if (!PyArg_ParseTuple(args, ""))
return NULL;
getMeshPointPtr()->Index = UINT_MAX;
getMeshPointPtr()->Mesh = 0;
Py_Return;
@@ -176,12 +178,12 @@ void MeshPointPy::setz(Py::Float arg)
}
}
PyObject *MeshPointPy::getCustomAttributes(const char* attr) const
PyObject *MeshPointPy::getCustomAttributes(const char* /*attr*/) const
{
return 0;
}
int MeshPointPy::setCustomAttributes(const char* attr, PyObject *obj)
int MeshPointPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
{
return 0;
}
}