fix unused variable warnings

This commit is contained in:
wmayer
2017-04-17 16:19:08 +02:00
parent 6b391fa7f3
commit f44c2000e8
2 changed files with 3 additions and 1 deletions

View File

@@ -83,6 +83,7 @@ CmdSurfaceFilling::CmdSurfaceFilling()
void CmdSurfaceFilling::activated(int iMsg)
{
Q_UNUSED(iMsg);
Base::Console().Message("Hello, World!\n");
}
@@ -106,6 +107,7 @@ CmdSurfaceCut::CmdSurfaceCut()
void CmdSurfaceCut::activated(int iMsg)
{
Q_UNUSED(iMsg);
/* std::vector<Gui::SelectionObject> Sel = getSelection().getSelectionEx(0, Part::Feature::getClassTypeId());
if (Sel.size() != 2) {
QMessageBox::warning(Gui::getMainWindow(), QObject::tr("Invalid selection"),
@@ -170,6 +172,7 @@ bool CmdSurfaceGeomFillSurface::isActive(void)
void CmdSurfaceGeomFillSurface::activated(int iMsg)
{
Q_UNUSED(iMsg);
std::string FeatName = getUniqueObjectName("Surface");
openCommand("Create surface");

View File

@@ -132,7 +132,6 @@ public:
private:
SurfaceFilling* widget;
Gui::TaskView::TaskBox* taskbox;
ViewProviderGeomFillSurface* view;
};
} //namespace Surface