Skip to content

Commit

Permalink
fix unused variable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Apr 17, 2017
1 parent 6b391fa commit f44c200
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/Mod/Surface/Gui/Command.cpp
Expand Up @@ -83,6 +83,7 @@ CmdSurfaceFilling::CmdSurfaceFilling()

void CmdSurfaceFilling::activated(int iMsg)
{
Q_UNUSED(iMsg);
Base::Console().Message("Hello, World!\n");
}

Expand All @@ -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"),
Expand Down Expand Up @@ -170,6 +172,7 @@ bool CmdSurfaceGeomFillSurface::isActive(void)

void CmdSurfaceGeomFillSurface::activated(int iMsg)
{
Q_UNUSED(iMsg);
std::string FeatName = getUniqueObjectName("Surface");

openCommand("Create surface");
Expand Down
1 change: 0 additions & 1 deletion src/Mod/Surface/Gui/SurfaceFilling.h
Expand Up @@ -132,7 +132,6 @@ class TaskSurfaceFilling : public Gui::TaskView::TaskDialog
private:
SurfaceFilling* widget;
Gui::TaskView::TaskBox* taskbox;
ViewProviderGeomFillSurface* view;
};

} //namespace Surface
Expand Down

0 comments on commit f44c200

Please sign in to comment.