fix -Wextra in FreeCADGui

This commit is contained in:
wmayer
2016-09-21 20:54:52 +02:00
parent f50e5a552b
commit 1e6dcabefc
106 changed files with 882 additions and 496 deletions

View File

@@ -98,7 +98,7 @@ Py::Object ControlPy::showDialog(const Py::Tuple& args)
return Py::None();
}
Py::Object ControlPy::activeDialog(const Py::Tuple& args)
Py::Object ControlPy::activeDialog(const Py::Tuple&)
{
Gui::TaskView::TaskDialog* dlg = Gui::Control().activeDialog();
return Py::Boolean(dlg!=0);