diff --git a/src/Gui/ViewProviderExtension.h b/src/Gui/ViewProviderExtension.h index bde1f2323..ed3e90b9d 100644 --- a/src/Gui/ViewProviderExtension.h +++ b/src/Gui/ViewProviderExtension.h @@ -80,7 +80,7 @@ public: virtual void extensionUpdateData(const App::Property*); private: - Gui::ViewProviderDocumentObject* m_viewBase = nullptr; + //Gui::ViewProviderDocumentObject* m_viewBase = nullptr; }; /** diff --git a/src/Mod/Mesh/App/Core/Approximation.h b/src/Mod/Mesh/App/Core/Approximation.h index 461f2fb72..7a2f24945 100644 --- a/src/Mod/Mesh/App/Core/Approximation.h +++ b/src/Mod/Mesh/App/Core/Approximation.h @@ -69,21 +69,21 @@ public: { return (Real)(2.0*m_afCoeff[0]*rkP.X() + m_afCoeff[2] + m_afCoeff[4]*rkP.Y()); } virtual Real FY (const Vector3& rkP) const { return (Real)(2.0*m_afCoeff[1]*rkP.Y() + m_afCoeff[3] + m_afCoeff[4]*rkP.X()); } - virtual Real FZ (const Vector3& rkP) const + virtual Real FZ (const Vector3& /*rkP*/) const { return (Real)-1.0; } // second-order partial derivatives - virtual Real FXX (const Vector3& rkP) const + virtual Real FXX (const Vector3& /*rkP*/) const { return (Real)(2.0*m_afCoeff[0]); } - virtual Real FXY (const Vector3& rkP) const + virtual Real FXY (const Vector3& /*rkP*/) const { return (Real)(m_afCoeff[4]); } - virtual Real FXZ (const Vector3& rkP) const + virtual Real FXZ (const Vector3& /*rkP*/) const { return (Real)0.0; } - virtual Real FYY (const Vector3& rkP) const + virtual Real FYY (const Vector3& /*rkP*/) const { return (Real)(2.0*m_afCoeff[1]); } - virtual Real FYZ (const Vector3& rkP) const + virtual Real FYZ (const Vector3& /*rkP*/) const { return (Real)0.0; } - virtual Real FZZ (const Vector3& rkP) const + virtual Real FZZ (const Vector3& /*rkP*/) const { return (Real)0.0; } protected: diff --git a/src/Mod/Path/Gui/TaskDlgPathCompound.cpp b/src/Mod/Path/Gui/TaskDlgPathCompound.cpp index 430c35cea..678c48ca3 100644 --- a/src/Mod/Path/Gui/TaskDlgPathCompound.cpp +++ b/src/Mod/Path/Gui/TaskDlgPathCompound.cpp @@ -53,7 +53,7 @@ using namespace Gui; //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ TaskWidgetPathCompound::TaskWidgetPathCompound(ViewProviderPathCompound *CompoundView,QWidget *parent) - : TaskBox(Gui::BitmapFactory().pixmap("Path-Compound"),tr("Compound paths"),true, parent),CompoundView(CompoundView) + : TaskBox(Gui::BitmapFactory().pixmap("Path-Compound"),tr("Compound paths"),true, parent) { // we need a separate container widget to add all controls to proxy = new QWidget(this); diff --git a/src/Mod/Path/Gui/TaskDlgPathCompound.h b/src/Mod/Path/Gui/TaskDlgPathCompound.h index cfb829495..a776046e5 100644 --- a/src/Mod/Path/Gui/TaskDlgPathCompound.h +++ b/src/Mod/Path/Gui/TaskDlgPathCompound.h @@ -52,7 +52,6 @@ protected: private: QWidget* proxy; Ui_TaskDlgPathCompound* ui; - ViewProviderPathCompound *CompoundView; }; /// Task Dialog