fix -Wextra in MeshPart
This commit is contained in:
parent
b1272cb1aa
commit
1d84eac025
|
@ -188,7 +188,7 @@ namespace Py
|
|||
: public PythonExtensionBase
|
||||
{
|
||||
protected:
|
||||
explicit PythonClass( PythonClassInstance *self, Tuple &args, Dict &kwds )
|
||||
explicit PythonClass( PythonClassInstance *self, Tuple &/*args*/, Dict &/*kwds*/ )
|
||||
: PythonExtensionBase()
|
||||
, m_class_instance( self )
|
||||
{
|
||||
|
@ -235,7 +235,7 @@ namespace Py
|
|||
return *p;
|
||||
}
|
||||
|
||||
static PyObject *extension_object_new( PyTypeObject *subtype, PyObject *args, PyObject *kwds )
|
||||
static PyObject *extension_object_new( PyTypeObject *subtype, PyObject * /*args*/, PyObject * /*kwds*/ )
|
||||
{
|
||||
#ifdef PYCXX_DEBUG
|
||||
std::cout << "extension_object_new()" << std::endl;
|
||||
|
|
|
@ -296,8 +296,8 @@ void CurveProjectorSimple::GetSampledCurves( const TopoDS_Edge& aEdge, std::vect
|
|||
//projectToNeighbours(Handle(Geom_Curve) hCurve,float pos
|
||||
|
||||
void CurveProjectorSimple::projectCurve( const TopoDS_Edge& aEdge,
|
||||
const std::vector<Base::Vector3f> &rclPoints,
|
||||
std::vector<FaceSplitEdge> &vSplitEdges)
|
||||
const std::vector<Base::Vector3f> &/*rclPoints*/,
|
||||
std::vector<FaceSplitEdge> &/*vSplitEdges*/)
|
||||
{
|
||||
Base::Vector3f /*cResultPoint, cSplitPoint, cPlanePnt, cPlaneNormal,*/TempResultPoint;
|
||||
bool bFirst = true;
|
||||
|
|
|
@ -141,7 +141,7 @@ void MeshAlgos::offsetSpecial(MeshCore::MeshKernel* Mesh, float fSize, float zma
|
|||
}
|
||||
|
||||
|
||||
void MeshAlgos::coarsen(MeshCore::MeshKernel* Mesh, float f)
|
||||
void MeshAlgos::coarsen(MeshCore::MeshKernel* /*Mesh*/, float /*f*/)
|
||||
{
|
||||
#ifdef FC_USE_GTS
|
||||
GtsSurface * surface;
|
||||
|
@ -166,7 +166,10 @@ void MeshAlgos::coarsen(MeshCore::MeshKernel* Mesh, float f)
|
|||
}
|
||||
|
||||
|
||||
MeshCore::MeshKernel* MeshAlgos::boolean(MeshCore::MeshKernel* pMesh1, MeshCore::MeshKernel* pMesh2, MeshCore::MeshKernel* pResult,int Type)
|
||||
MeshCore::MeshKernel* MeshAlgos::boolean(MeshCore::MeshKernel* pMesh1,
|
||||
MeshCore::MeshKernel* /*pMesh2*/,
|
||||
MeshCore::MeshKernel* /*pResult*/,
|
||||
int /*Type*/)
|
||||
{
|
||||
#ifdef FC_USE_GTS
|
||||
GtsSurface * s1, * s2, * s3;
|
||||
|
|
|
@ -186,7 +186,7 @@ Mesh::MeshObject* Mesher::createMesh() const
|
|||
colorMap[colors[i]].push_back(i);
|
||||
}
|
||||
|
||||
bool createSegm = (colors.size() == aMesh->NbDomains());
|
||||
bool createSegm = (static_cast<int>(colors.size()) == aMesh->NbDomains());
|
||||
|
||||
MeshCore::MeshFacetArray faces;
|
||||
faces.reserve(aMesh->NbTriangles());
|
||||
|
|
|
@ -50,7 +50,7 @@ CmdMeshPartMesher::CmdMeshPartMesher()
|
|||
sStatusTip = sToolTipText;
|
||||
}
|
||||
|
||||
void CmdMeshPartMesher::activated(int iMsg)
|
||||
void CmdMeshPartMesher::activated(int)
|
||||
{
|
||||
Gui::Control().showDialog(new MeshPartGui::TaskTessellation());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user