fix -Wunused-parameter

This commit is contained in:
wmayer
2016-09-23 16:37:12 +02:00
parent d1b3cbed75
commit c48a9bfead
4 changed files with 16 additions and 2 deletions

View File

@@ -1071,12 +1071,12 @@ void @self.export.Name@::set@i.Name@(Py::@i.Parameter.Type@ arg)
-
+ if(self.export.CustomAttributes != None):
PyObject *@self.export.Name@::getCustomAttributes(const char* attr) const
PyObject *@self.export.Name@::getCustomAttributes(const char* /*attr*/) const
{
return 0;
}
int @self.export.Name@::setCustomAttributes(const char* attr, PyObject *obj)
int @self.export.Name@::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
{
return 0;
}