Skip to content

Commit

Permalink
fix -Wunused-parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jan 4, 2017
1 parent 6dff7f1 commit 4efd3e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/Sketcher/Gui/CommandConstraints.cpp
Expand Up @@ -944,7 +944,7 @@ namespace SketcherGui {
: Gui::SelectionFilterGate((Gui::SelectionFilter*)0), object(obj)
{}

bool allow(App::Document *pDoc, App::DocumentObject *pObj, const char *sSubName)
bool allow(App::Document *, App::DocumentObject *pObj, const char *sSubName)
{
if (pObj != this->object)
return false;
Expand Down Expand Up @@ -1019,7 +1019,7 @@ class DrawSketchHandlerLock: public DrawSketchHandler
setCursor(QPixmap(cursor_createlock),7,7);
}

virtual void mouseMove(Base::Vector2d onSketchPos)
virtual void mouseMove(Base::Vector2d /*onSketchPos*/)
{
// If preselection Point
//int preSelPnt = sketchgui->getPreselectPoint();
Expand Down Expand Up @@ -1219,7 +1219,7 @@ namespace SketcherGui {
: Gui::SelectionFilterGate((Gui::SelectionFilter*)0), object(obj)
{}

bool allow(App::Document *pDoc, App::DocumentObject *pObj, const char *sSubName)
bool allow(App::Document *, App::DocumentObject *pObj, const char *sSubName)
{
if (pObj != this->object)
return false;
Expand Down

0 comments on commit 4efd3e8

Please sign in to comment.