fix -Wextra in Mesh

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

View File

@@ -61,8 +61,10 @@ PyObject *FacetPy::PyMake(struct _typeobject *, PyObject *, PyObject *) // Pyth
}
// constructor method
int FacetPy::PyInit(PyObject* args, PyObject*k)
int FacetPy::PyInit(PyObject* args, PyObject* /*kwds*/)
{
if (!PyArg_ParseTuple(args, ""))
return -1;
return 0;
}
@@ -199,12 +201,12 @@ Py::Float FacetPy::getArea(void) const
return Py::Float(tria.Area());
}
PyObject *FacetPy::getCustomAttributes(const char* attr) const
PyObject *FacetPy::getCustomAttributes(const char* /*attr*/) const
{
return 0;
}
int FacetPy::setCustomAttributes(const char* attr, PyObject *obj)
int FacetPy::setCustomAttributes(const char* /*attr*/, PyObject * /*obj*/)
{
return 0;
}