fix -Wunused-parameter

This commit is contained in:
wmayer 2016-11-26 14:11:30 +01:00
parent cb1b906bd4
commit 3105c4b1da
3 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ PyObject *ArcOfConic2dPy::PyMake(struct _typeobject *, PyObject *, PyObject *)
}
// constructor method
int ArcOfConic2dPy::PyInit(PyObject* args, PyObject* /*kwds*/)
int ArcOfConic2dPy::PyInit(PyObject* /*args*/, PyObject* /*kwds*/)
{
return -1;
}

View File

@ -49,7 +49,7 @@ PyObject *Conic2dPy::PyMake(struct _typeobject *, PyObject *, PyObject *) // Py
}
// constructor method
int Conic2dPy::PyInit(PyObject* args, PyObject* kwds)
int Conic2dPy::PyInit(PyObject* /*args*/, PyObject* /*kwds*/)
{
return 0;
}

View File

@ -101,12 +101,12 @@ unsigned int Geometry2d::getMemSize (void) const
return sizeof(Geometry2d);
}
void Geometry2d::Save(Base::Writer &writer) const
void Geometry2d::Save(Base::Writer & /*writer*/) const
{
throw Base::NotImplementedError("Save");
}
void Geometry2d::Restore(Base::XMLReader &reader)
void Geometry2d::Restore(Base::XMLReader & /*reader*/)
{
throw Base::NotImplementedError("Restore");
}