fix -Wextra & -Wdeprecated in Spreadsheet

This commit is contained in:
wmayer
2016-09-22 16:35:05 +02:00
parent 801ac34258
commit 6cf82fbe62
8 changed files with 34 additions and 6 deletions

View File

@@ -154,6 +154,9 @@ PyObject* SheetPy::clear(PyObject *args)
PyObject* SheetPy::clearAll(PyObject *args)
{
if (!PyArg_ParseTuple(args, ""))
return 0;
this->getSheetPtr()->clearAll();
Py_Return;
}
@@ -912,7 +915,7 @@ PyObject *SheetPy::getCustomAttributes(const char* attr) const
return prop->getPyObject();
}
int SheetPy::setCustomAttributes(const char* attr, PyObject* obj)
int SheetPy::setCustomAttributes(const char* , PyObject* )
{
return 0;
}