From 4efd3e894a9d3c1954603c60c411d434506d44e7 Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 4 Jan 2017 18:20:43 +0100 Subject: [PATCH] fix -Wunused-parameter --- src/Mod/Sketcher/Gui/CommandConstraints.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Sketcher/Gui/CommandConstraints.cpp b/src/Mod/Sketcher/Gui/CommandConstraints.cpp index 4e4d13d32..d610f64e4 100644 --- a/src/Mod/Sketcher/Gui/CommandConstraints.cpp +++ b/src/Mod/Sketcher/Gui/CommandConstraints.cpp @@ -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; @@ -1019,7 +1019,7 @@ public: 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(); @@ -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;