fix -Wextra in Sketcher

This commit is contained in:
wmayer
2016-09-22 18:34:35 +02:00
parent c3087e75fd
commit c06b6f081f
22 changed files with 143 additions and 45 deletions

View File

@@ -63,6 +63,8 @@ int SketchPy::PyInit(PyObject* /*args*/, PyObject* /*kwd*/)
PyObject* SketchPy::solve(PyObject *args)
{
if (!PyArg_ParseTuple(args, ""))
return 0;
getSketchPtr()->resetSolver();
return Py::new_reference_to(Py::Int(getSketchPtr()->solve()));
}