Salome HOME
fight warnings, c++17. Fix minor warnings. Buils SMESH finished
authorSALOME <salome@opencascade.com>
Thu, 27 Aug 2020 13:24:57 +0000 (16:24 +0300)
committerSALOME <salome@opencascade.com>
Thu, 27 Aug 2020 13:24:57 +0000 (16:24 +0300)
88 files changed:
src/Controls/SMESH_Controls.cxx
src/Controls/SMESH_ControlsDef.hxx
src/DriverUNV/UNV164_Structure.hxx
src/DriverUNV/UNV2411_Structure.hxx
src/DriverUNV/UNV2412_Structure.hxx
src/DriverUNV/UNV2417_Structure.hxx
src/DriverUNV/UNV2420_Structure.hxx
src/DriverUNV/UNV_Utilities.hxx
src/MEDWrapper/MED_Algorithm.cxx
src/MEDWrapper/MED_Algorithm.hxx
src/MEFISTO2/aptrte.cxx
src/OBJECT/SMESH_Actor.h
src/OBJECT/SMESH_ActorDef.h
src/OBJECT/SMESH_CellLabelActor.cxx
src/OBJECT/SMESH_CellLabelActor.h
src/OBJECT/SMESH_DeviceActor.cxx
src/OBJECT/SMESH_DeviceActor.h
src/OBJECT/SMESH_ExtractGeometry.cxx
src/OBJECT/SMESH_ExtractGeometry.h
src/OBJECT/SMESH_FaceOrientationFilter.cxx
src/OBJECT/SMESH_FaceOrientationFilter.h
src/OBJECT/SMESH_NodeLabelActor.cxx
src/OBJECT/SMESH_NodeLabelActor.h
src/OBJECT/SMESH_SVTKActor.cxx
src/OBJECT/SMESH_SVTKActor.h
src/OBJECT/SMESH_ScalarBarActor.cxx
src/OBJECT/SMESH_ScalarBarActor.h
src/SMDS/SMDS_MeshGroup.hxx
src/SMDS/SMDS_PolygonalFaceOfNodes.hxx
src/SMDS/SMDS_UnstructuredGrid.cxx
src/SMDS/SMDS_UnstructuredGrid.hxx
src/SMDS/SMDS_VolumeTool.cxx
src/SMESH/SMESH_Algo.cxx
src/SMESH/SMESH_Algo.hxx
src/SMESH/SMESH_Gen.cxx
src/SMESH/SMESH_Gen.hxx
src/SMESH/SMESH_HypoFilter.hxx
src/SMESH/SMESH_MeshEditor.cxx
src/SMESH/SMESH_MeshEditor.hxx
src/SMESH/SMESH_subMesh.cxx
src/SMESH/SMESH_subMesh.hxx
src/SMESH/SMESH_subMeshEventListener.hxx
src/SMESHGUI/SMESHGUI.cxx
src/SMESHGUI/SMESHGUI.h
src/SMESHGUI/SMESHGUI_ClippingDlg.h
src/SMESHGUI/SMESHGUI_GroupDlg.cxx
src/SMESHGUI/SMESHGUI_MeshInfo.cxx
src/SMESHGUI/SMESHGUI_NodesDlg.cxx
src/SMESHGUI/SMESHGUI_VTKUtils.h
src/SMESH_I/SMESH_2smeshpy.cxx
src/SMESH_I/SMESH_2smeshpy.hxx
src/SMESH_I/SMESH_Algo_i.cxx
src/SMESH_I/SMESH_Algo_i.hxx
src/SMESH_I/SMESH_Filter_i.cxx
src/SMESH_I/SMESH_Filter_i.hxx
src/SMESH_I/SMESH_Group_i.cxx
src/SMESH_I/SMESH_Group_i.hxx
src/SMESH_I/SMESH_Hypothesis_i.cxx
src/SMESH_I/SMESH_Hypothesis_i.hxx
src/SMESH_I/SMESH_Mesh_i.cxx
src/SMESH_I/SMESH_PreMeshInfo.cxx
src/StdMeshers/StdMeshers_Cartesian_3D.cxx
src/StdMeshers/StdMeshers_Cartesian_3D.hxx
src/StdMeshers/StdMeshers_CompositeHexa_3D.cxx
src/StdMeshers/StdMeshers_CompositeHexa_3D.hxx
src/StdMeshers/StdMeshers_Hexa_3D.cxx
src/StdMeshers/StdMeshers_MEFISTO_2D.cxx
src/StdMeshers/StdMeshers_MEFISTO_2D.hxx
src/StdMeshers/StdMeshers_NotConformAllowed.cxx
src/StdMeshers/StdMeshers_NotConformAllowed.hxx
src/StdMeshers/StdMeshers_PolygonPerFace_2D.cxx
src/StdMeshers/StdMeshers_PolygonPerFace_2D.hxx
src/StdMeshers/StdMeshers_Prism_3D.cxx
src/StdMeshers/StdMeshers_Prism_3D.hxx
src/StdMeshers/StdMeshers_ProjectionUtils.hxx
src/StdMeshers/StdMeshers_Projection_2D.cxx
src/StdMeshers/StdMeshers_QuadFromMedialAxis_1D2D.cxx
src/StdMeshers/StdMeshers_Quadrangle_2D.cxx
src/StdMeshers/StdMeshers_Quadrangle_2D.hxx
src/StdMeshers/StdMeshers_RadialPrism_3D.cxx
src/StdMeshers/StdMeshers_RadialQuadrangle_1D2D.cxx
src/StdMeshers/StdMeshers_ViscousLayers.cxx
src/StdMeshers/StdMeshers_ViscousLayers.hxx
src/StdMeshers/StdMeshers_ViscousLayers2D.cxx
src/StdMeshers/StdMeshers_ViscousLayers2D.hxx
src/StdMeshers_I/StdMeshers_Adaptive1D_i.hxx
src/Tools/MeshCut/MeshCut_Maillage.cxx
src/Tools/MeshCut/MeshCut_Maillage.hxx

index fce25f698618e8c45cd0dd472e5a40a4f7aae876..e45fc29368722a6ed773874d365512cd312c7e77 100644 (file)
@@ -2045,7 +2045,7 @@ double Deflection2D::GetBadRate( double Value, int /*nbNodes*/ ) const
 */
 //================================================================================
 
-double MultiConnection::GetValue( const TSequenceOfXYZ& P )
+double MultiConnection::GetValue( const TSequenceOfXYZ& /*P*/ )
 {
   return 0;
 }
@@ -2072,7 +2072,7 @@ SMDSAbs_ElementType MultiConnection::GetType() const
 */
 //================================================================================
 
-double MultiConnection2D::GetValue( const TSequenceOfXYZ& P )
+double MultiConnection2D::GetValue( const TSequenceOfXYZ& /*P*/ )
 {
   return 0;
 }
@@ -4263,7 +4263,7 @@ private:
   bool isOutOfFace  (const gp_Pnt& p);
   bool isOutOfEdge  (const gp_Pnt& p);
   bool isOutOfVertex(const gp_Pnt& p);
-  bool isOutOfNone  (const gp_Pnt& p) { return true; }
+  bool isOutOfNone  (const gp_Pnt& /*p*/) { return true; }
   bool isBox        (const TopoDS_Shape& s);
 
   TopoDS_Shape prepareSolid( const TopoDS_Shape& theSolid );
index c13c5bfa506b45a5767af740cf769358275cb655..e40eac14d212dc971fa5539ad6e4dd128b0de871 100644 (file)
@@ -129,7 +129,7 @@ namespace SMESH{
       NumericalFunctor();
       virtual void SetMesh( const SMDS_Mesh* theMesh );
       virtual double GetValue( long theElementId );
-      virtual double GetValue(const TSequenceOfXYZ& thePoints) { return -1.0;};
+      virtual double GetValue(const TSequenceOfXYZ& /*thePoints*/) { return -1.0;};
       void GetHistogram(int                     nbIntervals,
                         std::vector<int>&       nbEvents,
                         std::vector<double>&    funValues,
index d063fcd3273ef5beb8f9ed7310ec0dd1f3c6a62e..d2d4f9f20bc256efcf7e8f6315d11ecd6f63ee50 100644 (file)
@@ -88,7 +88,7 @@ namespace UNV164
   MESHDRIVERUNV_EXPORT void
   Write(std::ofstream& out_stream );
 
-};
+}
 
 
 #endif
index ff5ac403aafec31422b3e0482365538fc1d77222..f876d3741278391c6f3c3a476477c94ebd7172dd 100644 (file)
@@ -49,7 +49,7 @@ namespace UNV2411{
   MESHDRIVERUNV_EXPORT void
     Write(std::ofstream& out_stream, const TDataSet& theDataSet);
 
-};
+}
 
 
 #endif
index ccf6829c38f3542814237f3ebe9266ba80daa88a..9c5328d2b4038a6789f720139aec05b33d6e6346 100644 (file)
@@ -65,7 +65,7 @@ namespace UNV2412{
   MESHDRIVERUNV_EXPORT bool
     IsVolume(int theFeDescriptorId);
 
-};
+}
 
 
 #endif
index 4f17ded3d4aeac31e3a4608acf552423fc68f171..9202ba349def62466e93984ae028a0699a0f97c7 100644 (file)
@@ -46,7 +46,7 @@ namespace UNV2417{
   void ReadGroup(const std::string& myGroupLabel, std::ifstream& in_stream, TDataSet& theDataSet);
 
   void Write(std::ofstream& out_stream, const TDataSet& theDataSet);
-};
+}
 
 
 #endif
index 14f82b9a3311d4151d38df9b928aeb1cde7039e4..dfabe1d9b47786d0f6981e4204d5a8020c10d084 100644 (file)
@@ -113,7 +113,7 @@ namespace UNV2420
         const std::string& part_name); // can store a mesh name
   //    const TDataSet&    theDataSet);
 
-};
+}
 
 
 #endif
index 4e5a08408fc9af81edf84734fe1a6e41123cc40e..6792d4f1d90df1a3ae32382cfb70a4f654320edc 100644 (file)
@@ -141,7 +141,7 @@ namespace UNV {
       resLine.resize( resLine.size()-1 );
     return resLine;
   }
-};
+}
 
 
 #ifndef MESSAGE
index a62f979ea280172d55c2ada438beeed3bc245815..149cb3c5d6c1ba5c253201574668037aa67313c2 100644 (file)
@@ -178,7 +178,7 @@ namespace MED
 
   //---------------------------------------------------------------
   TEntity2FamilySet
-  GetEntity2FamilySet(const PWrapper& theWrapper,
+  GetEntity2FamilySet(const PWrapper& /*theWrapper*/,
                       const TEntity2TGeom2ElemInfo& theEntity2TGeom2ElemInfo,
                       const TFamilyInfoSet& theFamilyInfoSet)
   {
index 9f4093a7f676914c44b9ca21cd066a145e4a813a..2e6b0f5d9d3b4836ac1c996cbef69daafc8149c6 100644 (file)
@@ -53,7 +53,7 @@ namespace MED
   //! Get set of TElemInfo by its geometrical type and corresponding MED ENTITY
   MEDWRAPPER_EXPORT
   TEntity2TGeom2ElemInfo
-  GetEntity2TGeom2ElemInfo(const PWrapper& theWrapper,
+  GetEntity2TGeom2ElemInfo(const PWrapper& /*theWrapper*/,
                            const PMeshInfo& theMeshInfo,
                            const MED::TEntityInfo& theEntityInfo);
 
index 807575a51954e6a0e7ff199f904e8c64d8eabd50..54ef8859768faf78e3974fb0009579a443315919 100644 (file)
@@ -760,7 +760,7 @@ void
 #endif
 #endif
  qualitetrte( R3 *mnpxyd,
-                   Z & mosoar, Z & mxsoar, Z *mnsoar,
+                   Z & mosoar, Z & /*mxsoar*/, Z *mnsoar,
                    Z & moartr, Z & mxartr, Z *mnartr,
                    Z & nbtria, R & quamoy, R & quamin )
 // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
index 9099580c99f292f0cb3256b110868d745ee8a25f..9ef509d59b9b7b2c33d6bc9827c39553a2b720e1 100644 (file)
@@ -56,7 +56,7 @@ class SMESHOBJECT_EXPORT SMESH_Actor: public SALOME_Actor
   static SMESH_Actor* New() { return NULL;}
 
  public:
-  vtkTypeMacro(SMESH_Actor,SALOME_Actor);
+  vtkTypeMacro(SMESH_Actor,SALOME_Actor)
   static SMESH_Actor* New(TVisualObjPtr theVisualObj, 
                           const char* theEntry, 
                           const char* theName,
index 8a276768d98a7c96c81655cccebb651fe53981ac..36ef136fa27145947618c80e24acb66d5ecd07d0 100644 (file)
@@ -83,7 +83,7 @@ class SMESH_ActorDef : public SMESH_Actor
   friend class SMESH_Actor;
 
  public:
-  vtkTypeMacro(SMESH_ActorDef,SMESH_Actor);
+  vtkTypeMacro(SMESH_ActorDef,SMESH_Actor)
   
   virtual void Delete();
 
index bb0f39ade5666b240104a1ee9f056ab393d9dbd2..a9ba9794a37fc9fe21b5d9147c6084f8a41a9e58 100644 (file)
@@ -44,7 +44,7 @@
 #include <vtkUnstructuredGrid.h>
 #include <vtkCellData.h>
 
-vtkStandardNewMacro(SMESH_CellLabelActor);
+vtkStandardNewMacro(SMESH_CellLabelActor)
 
 /*!
   Constructor.
index 58d7feb39ecb2702fd9ff33346fde36037de05f1..38596c9d8e6f780b893956c87d12da4855d63449 100644 (file)
@@ -49,7 +49,7 @@ public:
                             void* theCallData);
 
 
-  vtkTypeMacro(SMESH_CellLabelActor, SMESH_DeviceActor);
+  vtkTypeMacro(SMESH_CellLabelActor, SMESH_DeviceActor)
 
 
   virtual void SetCellsLabeled(bool theIsCellsLabeled);
index 0cd05d2019723d60c78a634997149727d8f40139..4cfee475611483905e7d3f238efe1aaec4d379ff 100644 (file)
@@ -77,7 +77,7 @@ static int MYDEBUG = 0;
 using namespace std;
 
 
-vtkStandardNewMacro(SMESH_DeviceActor);
+vtkStandardNewMacro(SMESH_DeviceActor)
 
 
 SMESH_DeviceActor
index 25ebf4d39d6d0454a3a5e16006bdf5ff9a43c780..70c39ba71acaa85deef999795af4666b885c1dab 100644 (file)
@@ -61,7 +61,7 @@ class SMESHOBJECT_EXPORT SMESH_DeviceActor: public vtkLODActor{
   friend class SMESH_ActorDef;
 
  public:
-  vtkTypeMacro(SMESH_DeviceActor,vtkLODActor);
+  vtkTypeMacro(SMESH_DeviceActor,vtkLODActor)
   static SMESH_DeviceActor* New();
 
   void SetStoreClippingMapping(bool theStoreMapping);
index 9bbe415c0f3d3a69018134ba57edbb0ecc5dada2..4a4ab1716c0794a933b0c63f034169170155c5ca 100644 (file)
@@ -48,7 +48,7 @@ using namespace std;
 #endif
 
 
-vtkStandardNewMacro(SMESH_ExtractGeometry);
+vtkStandardNewMacro(SMESH_ExtractGeometry)
 
 
 SMESH_ExtractGeometry::SMESH_ExtractGeometry()
index 0bf9c8c3c59435e5c7b0d74cbc9824c3cb8b0ae8..f417c49b26ca893d0dd38df53cb9a79789701f31 100644 (file)
@@ -32,7 +32,7 @@
 
 class SMESHOBJECT_EXPORT SMESH_ExtractGeometry : public vtkExtractGeometry{
 public:
-  vtkTypeMacro(SMESH_ExtractGeometry,vtkExtractGeometry);
+  vtkTypeMacro(SMESH_ExtractGeometry,vtkExtractGeometry)
 
   static SMESH_ExtractGeometry *New();
 
index cab1470645998cba0080ba8ba18fbbc8365951c6..93b1e353ed2c35296165e03f8e2bdae5434e1ac9 100644 (file)
@@ -42,7 +42,7 @@
 
 #define PI   3.14159265359
 
-vtkStandardNewMacro(SMESH_FaceOrientationFilter);
+vtkStandardNewMacro(SMESH_FaceOrientationFilter)
 
 /*!
  * \class SMESH_FaceOrientationFilter
@@ -237,7 +237,7 @@ void GetFaceParams( vtkCell* theFace, double theNormal[3], double& theSize )
  * Execute method. Output calculation.
  */
 int SMESH_FaceOrientationFilter::RequestData(
-  vtkInformation *request,
+  vtkInformation * /*request*/,
   vtkInformationVector **inputVector,
   vtkInformationVector *outputVector)
 {
index 187510c5dbf758ad895a39257f120bc593998967..73bf7a2f607c1debb49708d00b619d8833441c3a 100644 (file)
@@ -33,7 +33,7 @@ class VTKViewer_CellCenters;
 class SMESHOBJECT_EXPORT SMESH_FaceOrientationFilter : public vtkPolyDataAlgorithm
 {
 public:
-  vtkTypeMacro( SMESH_FaceOrientationFilter, vtkPolyDataAlgorithm );
+  vtkTypeMacro( SMESH_FaceOrientationFilter, vtkPolyDataAlgorithm )
 
   /*!Create a new SMESH_FaceOrientationFilter.*/
   static SMESH_FaceOrientationFilter *New();
index ef1ee520fde243e4d3da3e2e8575293272dd76c1..e488600aeff65cc4b581c352ed7dd9c459641727 100644 (file)
@@ -39,7 +39,7 @@
 #include <vtkRenderer.h>
 #include <vtkUnstructuredGrid.h>
 
-vtkStandardNewMacro(SMESH_NodeLabelActor);
+vtkStandardNewMacro(SMESH_NodeLabelActor)
 
 /*!
   Constructor.
index 1c88b29e9b56af28eab2b137dadb5f9f386112d1..3158e7418ad9505db7fa547391a4a6a806b096d8 100644 (file)
@@ -46,7 +46,7 @@ public:
                             void* theCallData);
 
 
-  vtkTypeMacro(SMESH_NodeLabelActor, SMESH_DeviceActor);
+  vtkTypeMacro(SMESH_NodeLabelActor, SMESH_DeviceActor)
 
 
   virtual void SetPointsLabeled(bool theIsPointsLabeled);
index 2467e9710d49180c77221be7dc7de221ab056090..103a46f1e5256fff6145ea8954e89d476dc8a9ab 100644 (file)
@@ -43,7 +43,7 @@
 
 #include <Utils_SALOME_Exception.hxx>
 
-vtkStandardNewMacro(SMESH_SVTKActor);
+vtkStandardNewMacro(SMESH_SVTKActor)
 
 /*!
   Constructor
index 820dd60c2fc2cf62b8a0acf2c62b47dbcaad3beb..77499fde5744305f7d6c0d4bfa1952e59e3d0a41 100644 (file)
@@ -41,7 +41,7 @@ class SMESHOBJECT_EXPORT SMESH_SVTKActor : public SVTK_Actor {
 public:
   static SMESH_SVTKActor* New();
 
-  vtkTypeMacro(SMESH_SVTKActor, SVTK_Actor);
+  vtkTypeMacro(SMESH_SVTKActor, SVTK_Actor)
 
   void SetBallScale(double theSize);
   void SetBallSize(float theSize);
index f1990d55f6dae83e68c7666ea79c41d3465314d6..dd57991e8c333d4222a7e99158b6f71d8499f1ea 100644 (file)
@@ -41,7 +41,7 @@
 
 #define SHRINK_COEF 0.08;
 
-vtkStandardNewMacro(SMESH_ScalarBarActor);
+vtkStandardNewMacro(SMESH_ScalarBarActor)
 
 vtkCxxSetObjectMacro(SMESH_ScalarBarActor,LookupTable,vtkScalarsToColors);
 vtkCxxSetObjectMacro(SMESH_ScalarBarActor,LabelTextProperty,vtkTextProperty);
index 214903fde69a4c59c2ddf9c23824d7cd0c7c2bc2..fe358001040327698666b8ddc88eb94fccb06940 100644 (file)
@@ -91,7 +91,7 @@ class SMESHOBJECT_EXPORT SMESH_ScalarBarActor: public vtkActor2D {
  public:
   void PrintSelf(ostream& os, vtkIndent indent);
 
-  vtkTypeMacro(SMESH_ScalarBarActor,vtkActor2D);
+  vtkTypeMacro(SMESH_ScalarBarActor,vtkActor2D)
 
   // Description:
   // Instantiate object with 64 maximum colors; 5 labels; %%-#6.3g label
index 2b978c1b71a1822b3f095be22d5b562b3c094c37..39807aab32b23f998edd4e1a248d6b6c0f598a76 100644 (file)
@@ -41,7 +41,7 @@ class SMDS_EXPORT SMDS_MeshGroup: public SMDS_MeshObject, SMDS_ElementHolder
 
   void SetType (const SMDSAbs_ElementType theType);
   void Clear();
-  void Reserve(size_t nbElems) {}
+  void Reserve(size_t /*nbElems*/) {}
   bool Add(const SMDS_MeshElement * theElem);
   bool Remove(const SMDS_MeshElement * theElem);
   bool IsEmpty() const { return myElements.empty(); }
index 4d0706804d0ee56373b610ed600cf35d74bbf79e..645a037624b3d20901f2206cea09eb4d3d66f8fb 100644 (file)
@@ -40,7 +40,7 @@ class SMDS_EXPORT SMDS_PolygonalFaceOfNodes : public SMDS_CellOfNodes
   virtual SMDSAbs_GeometryType GetGeomType()  const { return SMDSGeom_POLYGON; }
   virtual bool IsPoly() const { return true; }
   virtual bool IsQuadratic() const { return false; }
-  virtual bool IsMediumNode(const SMDS_MeshNode* node) const { return false; }
+  virtual bool IsMediumNode(const SMDS_MeshNode* /*node*/) const { return false; }
   virtual int  NbCornerNodes() const { return NbNodes(); }
 
   virtual int NbNodes() const;
index 6140c5cf673de829ed9c59485cb377180863befa..efb682f6bfb2ed082670bf8c17299bdc8bcf67a3 100644 (file)
@@ -336,7 +336,7 @@ void SMDS_UnstructuredGrid::compactGrid(std::vector<int>& idNodesOldToNew, int n
 }
 
 void SMDS_UnstructuredGrid::copyNodes(vtkPoints *       newPoints,
-                                      std::vector<int>& idNodesOldToNew,
+                                      std::vector<int>& /*idNodesOldToNew*/,
                                       int&              alreadyCopied,
                                       int               start,
                                       int               end)
@@ -410,7 +410,7 @@ void SMDS_UnstructuredGrid::CleanDownwardConnectivity()
  *  Downward connectivity is no more valid if vtkUnstructuredGrid is modified.
  *
  */
-void SMDS_UnstructuredGrid::BuildDownwardConnectivity(bool withEdges)
+void SMDS_UnstructuredGrid::BuildDownwardConnectivity(bool /*withEdges*/)
 {
   MESSAGE("SMDS_UnstructuredGrid::BuildDownwardConnectivity");CHRONO(2);
   // TODO calcul partiel sans edges
index e7ed86930eff89f429f374491584b97be0921e43..e9ff8477521296c55f737ae33414ca80fe2dd099 100644 (file)
@@ -85,7 +85,7 @@ public:
   int CellIdToDownId(int vtkCellId);
   void setCellIdToDownId(int vtkCellId, int downId);
   void CleanDownwardConnectivity();
-  void BuildDownwardConnectivity(bool withEdges);
+  void BuildDownwardConnectivity(bool /*withEdges*/);
   int GetNeighbors(int* neighborsVtkIds, int* downIds, unsigned char* downTypes, int vtkId, bool getSkin=false);
   int GetParentVolumes(int* volVtkIds, int vtkId);
   int GetParentVolumes(int* volVtkIds, int downId, unsigned char downType);
@@ -115,7 +115,7 @@ public:
 protected:
   SMDS_UnstructuredGrid();
   ~SMDS_UnstructuredGrid();
-  void copyNodes(vtkPoints *newPoints, std::vector<int>& idNodesOldToNew, int& alreadyCopied, int start, int end);
+  void copyNodes(vtkPoints *newPoints, std::vector<int>& /*idNodesOldToNew*/, int& alreadyCopied, int start, int end);
   void copyBloc(vtkUnsignedCharArray *newTypes,
                 const std::vector<int>& idCellsOldToNew,
                 const std::vector<int>& idNodesOldToNew,
index 016ca4cf5478fc4caf001f17bac1f460ff2e1669..14c1fbddc74f6f102dd2e24c7503f2b3a1be68e3 100644 (file)
@@ -1328,7 +1328,7 @@ int SMDS_VolumeTool::GetOppFaceIndex( int faceIndex ) const
     case 15:
       if ( faceIndex == 0 || faceIndex == 1 )
         ind = 1 - faceIndex;
-        break;
+      break;
     case 8:
     case 12:
       if ( faceIndex <= 1 ) // top or bottom
index d4930818e22508fbb5daed1a4ff2242a91702e11..f140187b87b61819fd994d4057f7860186bcee72 100644 (file)
@@ -858,7 +858,7 @@ bool SMESH_Algo::Compute(SMESH_Mesh & /*aMesh*/, SMESH_MesherHelper* /*aHelper*/
 //purpose  : Return true if the algorithm can mesh a given shape
 //=======================================================================
 
-bool SMESH_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool toCheckAll) const
+bool SMESH_Algo::IsApplicableToShape(const TopoDS_Shape & /*shape*/, bool /*toCheckAll*/) const
 {
   return true;
 }
@@ -1261,7 +1261,7 @@ bool SMESH_2D_Algo::FixInternalNodes(const SMESH_ProxyMesh& mesh,
 //purpose  : Return true if the algorithm can mesh a given shape
 //=======================================================================
 
-bool SMESH_1D_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool toCheckAll) const
+bool SMESH_1D_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool /*toCheckAll*/) const
 {
   return ( !shape.IsNull() && TopExp_Explorer( shape, TopAbs_EDGE ).More() );
 }
@@ -1271,7 +1271,7 @@ bool SMESH_1D_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool toCheck
 //purpose  : Return true if the algorithm can mesh a given shape
 //=======================================================================
 
-bool SMESH_2D_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool toCheckAll) const
+bool SMESH_2D_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool /*toCheckAll*/) const
 {
   return ( !shape.IsNull() && TopExp_Explorer( shape, TopAbs_FACE ).More() );
 }
@@ -1281,7 +1281,7 @@ bool SMESH_2D_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool toCheck
 //purpose  : Return true if the algorithm can mesh a given shape
 //=======================================================================
 
-bool SMESH_3D_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool toCheckAll) const
+bool SMESH_3D_Algo::IsApplicableToShape(const TopoDS_Shape & shape, bool /*toCheckAll*/) const
 {
   return ( !shape.IsNull() && TopExp_Explorer( shape, TopAbs_SOLID ).More() );
 }
index 72c17b7f972d7de7360c7a492ec366cae927daa8..6b5b4904ab5ed734b62e6e5041a9585106026931 100644 (file)
@@ -173,7 +173,7 @@ class SMESH_EXPORT SMESH_Algo : public SMESH_Hypothesis
    *              else, returns OK if at least one shape is OK
    *  \retval bool - \c true by default
    */
-  virtual bool IsApplicableToShape(const TopoDS_Shape & shape, bool toCheckAll) const;
+  virtual bool IsApplicableToShape(const TopoDS_Shape & /*shape*/, bool /*toCheckAll*/) const;
 
   /*!
    * \brief Sets _computeCanceled to true. It's usage depends on
@@ -480,7 +480,7 @@ public:
    *              else, returns OK if at least one shape is OK
    *  \retval bool - \c true by default
    */
-  virtual bool IsApplicableToShape(const TopoDS_Shape & shape, bool toCheckAll) const;
+  virtual bool IsApplicableToShape(const TopoDS_Shape & shape, bool /*toCheckAll*/) const;
 };
 
 class SMESH_EXPORT SMESH_2D_Algo: public SMESH_Algo
@@ -494,7 +494,7 @@ public:
    *              else, returns OK if at least one shape is OK
    *  \retval bool - \c true by default
    */
-  virtual bool IsApplicableToShape(const TopoDS_Shape & shape, bool toCheckAll) const;
+  virtual bool IsApplicableToShape(const TopoDS_Shape & shape, bool /*toCheckAll*/) const;
   /*!
    * \brief Method in which an algorithm generating a structured mesh
    *        fixes positions of in-face nodes after there movement
@@ -515,7 +515,7 @@ public:
    *              else, returns OK if at least one shape is OK
    *  \retval bool - \c true by default
    */
-  virtual bool IsApplicableToShape(const TopoDS_Shape & shape, bool toCheckAll) const;
+  virtual bool IsApplicableToShape(const TopoDS_Shape & shape, bool /*toCheckAll*/) const;
 };
 
 #endif
index 433666646804ec38b0f25cdbace5f8b1b16941ba..647ff308032729f399dd89a37dab55d8693bcd96 100644 (file)
@@ -415,8 +415,8 @@ bool SMESH_Gen::Compute(SMESH_Mesh &          aMesh,
  * Prepare Compute a mesh
  */
 //=============================================================================
-void SMESH_Gen::PrepareCompute(SMESH_Mesh &          aMesh,
-                               const TopoDS_Shape &  aShape)
+void SMESH_Gen::PrepareCompute(SMESH_Mesh &          /*aMesh*/,
+                               const TopoDS_Shape &  /*aShape*/)
 {
   _compute_canceled = false;
   resetCurrentSubMesh();
@@ -427,8 +427,8 @@ void SMESH_Gen::PrepareCompute(SMESH_Mesh &          aMesh,
  * Cancel Compute a mesh
  */
 //=============================================================================
-void SMESH_Gen::CancelCompute(SMESH_Mesh &          aMesh,
-                              const TopoDS_Shape &  aShape)
+void SMESH_Gen::CancelCompute(SMESH_Mesh &          /*aMesh*/,
+                              const TopoDS_Shape &  /*aShape*/)
 {
   _compute_canceled = true;
   if ( const SMESH_subMesh* sm = GetCurrentSubMesh() )
index 7a760b5a86a6c56a572ddab70d3baae76860555a..344877697100c8aab5eabd0477720159e9b76b38 100644 (file)
@@ -91,10 +91,10 @@ public:
                const ::MeshDimension aDim=::MeshDim_3D,
                TSetOfInt*            aShapesId=0);
 
-  void PrepareCompute(::SMESH_Mesh &        aMesh,
-                      const TopoDS_Shape &  aShape);
-  void CancelCompute(::SMESH_Mesh &        aMesh,
-                     const TopoDS_Shape &  aShape);
+  void PrepareCompute(::SMESH_Mesh &        /*aMesh*/,
+                      const TopoDS_Shape &  /*aShape*/);
+  void CancelCompute(::SMESH_Mesh &        /*aMesh*/,
+                     const TopoDS_Shape &  /*aShape*/);
 
   const SMESH_subMesh* GetCurrentSubMesh() const;
 
index 5af5a23f5ca76430d209ed27b2fff920e82efd97..32a7389d2349647ba1c3e03fa36a8ea14bb6c0bd 100644 (file)
@@ -107,7 +107,7 @@ class SMESH_EXPORT SMESH_HypoFilter: public SMESH_HypoPredicate
   enum Logical { AND, AND_NOT, OR, OR_NOT };
   enum Comparison { EQUAL, NOT_EQUAL, MORE, LESS };
 
-  SMESH_HypoFilter(const SMESH_HypoFilter& other){}
+  SMESH_HypoFilter(const SMESH_HypoFilter& /*other*/){}
 
   void add( Logical bool_op, SMESH_HypoPredicate* pred )
   {
index ae3b70321c91196a98ba745dfa86b1466f83824d..449831b4b7d149bbde5fa9cfcf5de3fbf600a356 100644 (file)
@@ -5652,10 +5652,10 @@ makeNodesByNormal2D( SMESHDS_Mesh*                     mesh,
 //=======================================================================
 
 int SMESH_MeshEditor::ExtrusParam::
-makeNodesByNormal1D( SMESHDS_Mesh*                     mesh,
-                     const SMDS_MeshNode*              srcNode,
-                     std::list<const SMDS_MeshNode*> & newNodes,
-                     const bool                        makeMediumNodes)
+makeNodesByNormal1D( SMESHDS_Mesh*                     /*mesh*/,
+                     const SMDS_MeshNode*              /*srcNode*/,
+                     std::list<const SMDS_MeshNode*> & /*newNodes*/,
+                     const bool                        /*makeMediumNodes*/)
 {
   throw SALOME_Exception("Extrusion 1D by Normal not implemented");
   return 0;
@@ -9202,7 +9202,7 @@ void SMESH_MeshEditor::ConvertToQuadratic(const bool        theForce3d,
 
 int SMESH_MeshEditor::removeQuadElem(SMESHDS_SubMesh *    theSm,
                                      SMDS_ElemIteratorPtr theItr,
-                                     const int            theShapeID)
+                                     const int            /*theShapeID*/)
 {
   int nbElem = 0;
   SMESHDS_Mesh* meshDS = GetMeshDS();
index 3a50a629a6b8b20280cbaf7c5f750a05a74a35e0..158e8edc0bdc7f8ca020b8f1b95ff29bab1ff107 100644 (file)
@@ -395,10 +395,10 @@ public:
                              const SMDS_MeshNode*              srcNode,
                              std::list<const SMDS_MeshNode*> & newNodes,
                              const bool                        makeMediumNodes);
-    int makeNodesByNormal1D( SMESHDS_Mesh*                     mesh,
-                             const SMDS_MeshNode*              srcNode,
-                             std::list<const SMDS_MeshNode*> & newNodes,
-                             const bool                        makeMediumNodes);
+    int makeNodesByNormal1D( SMESHDS_Mesh*                     /*mesh*/,
+                             const SMDS_MeshNode*              /*srcNode*/,
+                             std::list<const SMDS_MeshNode*> & /*newNodes*/,
+                             const bool                        /*makeMediumNodes*/);
     int makeNodesAlongTrack( SMESHDS_Mesh*                     mesh,
                              const SMDS_MeshNode*              srcNode,
                              std::list<const SMDS_MeshNode*> & newNodes,
@@ -747,7 +747,7 @@ public:
    */
   int removeQuadElem( SMESHDS_SubMesh *    theSm,
                       SMDS_ElemIteratorPtr theItr,
-                      const int            theShapeID);
+                      const int            /*theShapeID*/);
   /*!
    * \brief Create groups of elements made during transformation
    * \param nodeGens - nodes making corresponding myLastCreatedNodes
index 63344a5094ddf4fac4b14eb44d4428a30d333f03..258491579042996fba43b19f107ed85244e4364a 100644 (file)
@@ -2106,7 +2106,7 @@ void SMESH_subMesh::removeSubMeshElementsAndNodes()
 //           meshed at once along with _subShape
 //=======================================================================
 
-TopoDS_Shape SMESH_subMesh::getCollection(SMESH_Gen * theGen,
+TopoDS_Shape SMESH_subMesh::getCollection(SMESH_Gen * /*theGen*/,
                                           SMESH_Algo* theAlgo,
                                           bool &      theSubComputed,
                                           bool &      theSubFailed,
index 03dd98e491b9448c9cf04a8396f070004b62890f..e1f6de3ff2349d9c738cdac2c266c16afba1c9ba 100644 (file)
@@ -294,7 +294,7 @@ protected:
    * \brief Return a shape containing all sub-shapes of the MainShape that can be
    * meshed at once along with _subShape
    */
-  TopoDS_Shape getCollection(SMESH_Gen * theGen,
+  TopoDS_Shape getCollection(SMESH_Gen * /*theGen*/,
                              SMESH_Algo* theAlgo,
                              bool &      theSubComputed,
                              bool &      theSubFailed,
index dddc54d1ab0fe7d5918d914a2c2d3f27ad73912a..d30fc8bdfdd3869aa9c6daaaf4f2ccfdea2e25eb 100644 (file)
@@ -55,8 +55,8 @@ class SMESH_EXPORT SMESH_subMeshEventListener
   virtual      ~SMESH_subMeshEventListener() {}
   bool         IsDeletable() const { return myIsDeletable; }
   const char*  GetName()     const { return myName; }
-  virtual void BeforeDelete(SMESH_subMesh*                  subMesh,
-                            SMESH_subMeshEventListenerData* data)
+  virtual void BeforeDelete(SMESH_subMesh*                  /*subMesh*/,
+                            SMESH_subMeshEventListenerData* /*data*/)
   {}
   /*!
    * \brief Do something on a certain event
index 80211ac67b9cbf7fea19bd66d4fd8801fb7c4728..818d7232651300488fdcfa930931afee9a52db7d 100644 (file)
@@ -3961,7 +3961,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
  *
  */
 //=============================================================================
-bool SMESHGUI::OnMousePress( QMouseEvent * pe, SUIT_ViewWindow * wnd )
+bool SMESHGUI::OnMousePress( QMouseEvent * /*pe*/, SUIT_ViewWindow * /*wnd*/ )
 {
   return false;
 }
@@ -3971,7 +3971,7 @@ bool SMESHGUI::OnMousePress( QMouseEvent * pe, SUIT_ViewWindow * wnd )
  *
  */
 //=============================================================================
-bool SMESHGUI::OnMouseMove( QMouseEvent * pe, SUIT_ViewWindow * wnd )
+bool SMESHGUI::OnMouseMove( QMouseEvent * /*pe*/, SUIT_ViewWindow * /*wnd*/ )
 {
   return true;
 }
@@ -3981,7 +3981,7 @@ bool SMESHGUI::OnMouseMove( QMouseEvent * pe, SUIT_ViewWindow * wnd )
  *
  */
 //=============================================================================
-bool SMESHGUI::OnKeyPress( QKeyEvent * pe, SUIT_ViewWindow * wnd )
+bool SMESHGUI::OnKeyPress( QKeyEvent * /*pe*/, SUIT_ViewWindow * /*wnd*/ )
 {
   return true;
 }
@@ -5270,7 +5270,7 @@ void SMESHGUI::addActorAsObserver( SMESH_Actor* theActor )
 void SMESHGUI::ProcessEvents( vtkObject* theObject,
                               unsigned long theEvent,
                               void* theClientData,
-                              void* theCallData )
+                              void* /*theCallData*/ )
 {
   if( SMESHGUI* aSMESHGUI = reinterpret_cast<SMESHGUI*>( theClientData ) ) {
     if( theObject && (int) theEvent == SMESH::DeleteActorEvent ) {
index 0105465a26087108612fcf349ab31fed70cb05c7..08f77c4e3d800521f807b13b1b79d96f283d3f2e 100644 (file)
@@ -202,7 +202,7 @@ protected:
   static void                     ProcessEvents( vtkObject* theObject, 
                                                  unsigned long theEvent,
                                                  void* theClientData, 
-                                                 void* theCallData );
+                                                 void* /*theCallData*/ );
 
 private:
   void                            OnEditDelete();
index 3184c90eeeb7b588f98abd6e398c7c4c2f85b9ed..592409d27b9dfc50df893c82aabf4dd7a787848f 100644 (file)
@@ -81,7 +81,7 @@ namespace SMESH
     public:
       static OrientedPlane *New();
       static OrientedPlane *New(SVTK_ViewWindow* theViewWindow);
-      vtkTypeMacro (OrientedPlane, vtkPlane);
+      vtkTypeMacro (OrientedPlane, vtkPlane)
 
       QPointer<SVTK_ViewWindow> myViewWindow;
       SMESH::Orientation myRelativeOrientation;
@@ -135,7 +135,7 @@ namespace SMESH
 
   typedef std::vector<TPlane>               TPlaneVector;
   typedef std::vector<TPlaneData>           TPlaneDataVector;
-};
+}
 
 //=================================================================================
 // class    : SMESHGUI_ClippingDlg
index 2313c768ce438035762520a9727d1bf47be37bf1..d3438261aa117bb9d517a684701a8094ece2bec7 100644 (file)
@@ -767,7 +767,7 @@ void SMESHGUI_GroupDlg::updateButtons()
 // function : onNameChanged()
 // purpose  :
 //=================================================================================
-void SMESHGUI_GroupDlg::onNameChanged (const QString& text)
+void SMESHGUI_GroupDlg::onNameChanged (const QString& /*text*/)
 {
   myOldName = myName->text();
   updateButtons();
@@ -814,7 +814,7 @@ void SMESHGUI_GroupDlg::onGrpTypeChanged (int id)
 // function : onColorChanged()
 // purpose  : Color button management
 //=================================================================================
-void SMESHGUI_GroupDlg::onColorChanged(QColor theColor)
+void SMESHGUI_GroupDlg::onColorChanged(QColor /*theColor*/)
 {
   updateButtons();
 }
index e6d9c8e7a57fd5e4d58162982bc871cfb085b742..8e5e6356dc138d3d81dbdd6929a20f6c6b926dd3 100644 (file)
@@ -2175,8 +2175,8 @@ void SMESHGUI_TreeElemInfo::information( const QList<uint>& ids )
   \param nbNodes number of unique nodes in element
   \param parentItem parent item of tree
 */
-void SMESHGUI_TreeElemInfo::nodeInfo( const SMDS_MeshNode* node, int index,
-                                      int nbNodes, QTreeWidgetItem* parentItem )
+void SMESHGUI_TreeElemInfo::nodeInfo( const SMDS_MeshNode* /*node*/, int /*index*/,
+                                      int /*nbNodes*/, QTreeWidgetItem* /*parentItem*/ )
 {
   // int precision   = SMESHGUI::resourceMgr()->integerValue( "SMESH", "length_precision", 6 );
   // // node number and ID
@@ -2284,7 +2284,7 @@ void SMESHGUI_TreeElemInfo::contextMenuEvent( QContextMenuEvent* e )
   }
 }
 
-void SMESHGUI_TreeElemInfo::itemDoubleClicked( QTreeWidgetItem* theItem, int theColumn )
+void SMESHGUI_TreeElemInfo::itemDoubleClicked( QTreeWidgetItem* theItem, int /*theColumn*/ )
 {
   if ( theItem ) {
     int type = theItem->data( 1, TypeRole ).toInt();
index 1bd22a3e6b8816c0e6d9a9517e415dc939451db4..fe21898a10fc4584f44b03e5b86b3c1d9481147c 100644 (file)
@@ -395,7 +395,7 @@ void SMESHGUI_NodesDlg::Init()
 // function : ValueChangedInSpinBox()
 // purpose  :
 //=================================================================================
-void SMESHGUI_NodesDlg::ValueChangedInSpinBox( double newValue )
+void SMESHGUI_NodesDlg::ValueChangedInSpinBox( double /*newValue*/ )
 {
   if ( !myMesh->_is_nil() ) {
     double vx = SpinBox_X->GetValue();
index a88c697a67aee837883a0fba41b7fd5bf67430ec..ef6eb05ec03b96c84d538d973b862bc9be3c2c07 100644 (file)
@@ -222,6 +222,6 @@ SMESHGUI_EXPORT
 
   SMESHGUI_EXPORT
   void UpdateActorsAfterUpdateStudy();
-};
+}
 
 #endif // SMESHGUI_VTKUTILS_H
index 150d0d75fdab1badeb953fb4df589de5f69a6497..b28a7ec6344673e8c480366810235652b43eb8bf 100644 (file)
@@ -1230,7 +1230,7 @@ void _pyGen::Flush()
  */
 //================================================================================
 
-void _pyGen::PlaceSubmeshAfterItsCreation( Handle(_pyCommand) theCmdUsingSubmesh ) const
+void _pyGen::PlaceSubmeshAfterItsCreation( Handle(_pyCommand) /*theCmdUsingSubmesh*/ ) const
 {
   // map< _pyID, Handle(_pyObject) >::const_iterator id_obj = myObjects.begin();
   // for ( ; id_obj != myObjects.end(); ++id_obj )
@@ -4482,7 +4482,7 @@ _pySubMesh::_pySubMesh(const Handle(_pyCommand)& theCreationCmd, bool toKeepAgrC
  */
 //================================================================================
 
-bool _pySubMesh::CanBeArgOfMethod(const _AString& theMethodName)
+bool _pySubMesh::CanBeArgOfMethod(const _AString& /*theMethodName*/)
 {
   return false;
   // names of all methods where a sub-mesh can be used as argument
index a2c9b94a3e495ddd0ff529461a84b7b103681629..712d0c396d65a13aeb1c0459fe70e34d2ddaa3dc 100644 (file)
@@ -260,7 +260,7 @@ public:
   void SetCommandBefore( Handle(_pyCommand) theCmd,  Handle(_pyCommand) theBeforeCmd );
   Handle(_pyCommand)& GetLastCommand();
   std::list< Handle(_pyCommand) >& GetCommands() { return myCommands; }
-  void PlaceSubmeshAfterItsCreation( Handle(_pyCommand) theCmdUsingSubmesh ) const;
+  void PlaceSubmeshAfterItsCreation( Handle(_pyCommand) /*theCmdUsingSubmesh*/ ) const;
 
   _pyID GenerateNewID( const _pyID& theID );
   bool AddObject( Handle(_pyObject)& theObj );
@@ -490,7 +490,7 @@ public:
   virtual bool Addition2Creation( const Handle(_pyCommand)& theAdditionCmd,
                                   const _pyID&              theMesh);
   virtual const char* AccessorMethod() const { return "GetAlgorithm()"; }
-  virtual bool IsWrappable(const _pyID& theMesh) { return !myIsWrapped; }
+  virtual bool IsWrappable(const _pyID& /*theMesh*/) { return !myIsWrapped; }
 
   DEFINE_STANDARD_RTTIEXT(_pyAlgorithm,_pyHypothesis)
 };
@@ -600,7 +600,7 @@ public:
   virtual Handle(_pyMesh) GetMesh() { return myMesh; }
   virtual void Free() { myCreator.Nullify(); myMesh.Nullify(); }
   void SetCreator( const Handle(_pyObject)& theCreator ) { myCreator = theCreator; }
-  static bool CanBeArgOfMethod(const _AString& theMethodName);
+  static bool CanBeArgOfMethod(const _AString& /*theMethodName*/);
 
   DEFINE_STANDARD_RTTIEXT(_pySubMesh,_pyObject)
 };
index caa151d88d04b8a8ea6503f5aaf01844f22a9b48..2180be54214c6d6b68f7d91b5e1c1173e3daa371 100644 (file)
@@ -88,8 +88,8 @@ SMESH::ListOfHypothesisName* SMESH_Algo_i::GetCompatibleHypothesis()
  */
 //================================================================================
 
-bool SMESH_Algo_i::getObjectsDependOn( std::vector< std::string > & entryArray,
-                                       std::vector< int >         & subIDArray ) const
+bool SMESH_Algo_i::getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+                                       std::vector< int >         & /*subIDArray*/ ) const
 {
   return false;
 }
@@ -100,8 +100,8 @@ bool SMESH_Algo_i::getObjectsDependOn( std::vector< std::string > & entryArray,
  */
 //================================================================================
 
-bool SMESH_Algo_i::setObjectsDependOn( std::vector< std::string > & entryArray,
-                                       std::vector< int >         & subIDArray )
+bool SMESH_Algo_i::setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+                                       std::vector< int >         & /*subIDArray*/ )
 {
   return true;
 }
index 0b07cc772815ddd5403862679a2ae6f78200b456..03a8c8e794de09f0ea3f395cc14d35c24e40057d 100644 (file)
@@ -56,12 +56,12 @@ public:
 
 
   // Return geometry this hypothesis depends on. Return false if there is no geometry parameter
-  virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
-                                   std::vector< int >         & subIDArray ) const;
+  virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+                                   std::vector< int >         & /*subIDArray*/ ) const;
 
   // Set new geometry instead of that returned by getObjectsDependOn()
-  virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
-                                   std::vector< int >         & subIDArray );
+  virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+                                   std::vector< int >         & /*subIDArray*/ );
 };
 
 #endif
index d9a45264dac44668e0142476f70536dd6c36e806..2a1cfebc64ecc9cb9fe6d4157acf74a57feca321 100644 (file)
@@ -718,7 +718,7 @@ BadOrientedVolume_i::BadOrientedVolume_i()
 {
   Controls::PredicatePtr control( new Controls::BadOrientedVolume() );
   myFunctorPtr = myPredicatePtr = control;
-};
+}
 
 FunctorType BadOrientedVolume_i::GetFunctorType()
 {
@@ -733,7 +733,7 @@ BareBorderVolume_i::BareBorderVolume_i()
 {
   Controls::PredicatePtr control( new Controls::BareBorderVolume() );
   myFunctorPtr = myPredicatePtr = control;
-};
+}
 
 FunctorType BareBorderVolume_i::GetFunctorType()
 {
@@ -748,7 +748,7 @@ BareBorderFace_i::BareBorderFace_i()
 {
   Controls::PredicatePtr control( new Controls::BareBorderFace() );
   myFunctorPtr = myPredicatePtr = control;
-};
+}
 
 FunctorType BareBorderFace_i::GetFunctorType()
 {
@@ -763,7 +763,7 @@ OverConstrainedVolume_i::OverConstrainedVolume_i()
 {
   Controls::PredicatePtr control( new Controls::OverConstrainedVolume() );
   myFunctorPtr = myPredicatePtr = control;
-};
+}
 
 FunctorType OverConstrainedVolume_i::GetFunctorType()
 {
@@ -778,7 +778,7 @@ OverConstrainedFace_i::OverConstrainedFace_i()
 {
   Controls::PredicatePtr control( new Controls::OverConstrainedFace() );
   myFunctorPtr = myPredicatePtr = control;
-};
+}
 
 FunctorType OverConstrainedFace_i::GetFunctorType()
 {
index bc647a31e8b9f6d81859c7404a260f6168df4942..dc4556d7576479e3c94e6bd9b111f0fd74deead1 100644 (file)
@@ -55,7 +55,7 @@ namespace SMESH
    */
   struct NotifyerAndWaiter
   {
-    virtual void OnBaseObjModified(NotifyerAndWaiter* obj, bool removed) {};
+    virtual void OnBaseObjModified(NotifyerAndWaiter* /*obj*/, bool /*removed*/) {};
     // specific reaction on modification of a base object
 
     void Modified( bool removed=false, NotifyerAndWaiter* who = 0);
index 5abdf40c10a0a5afc376752a8c1ef84b9f955a0e..b4c094ffc843a6a32f4af8f49ee184fc2799aaf0 100644 (file)
@@ -1071,7 +1071,7 @@ SMESH_GroupOnFilter_i::~SMESH_GroupOnFilter_i()
  */
 //================================================================================
 
-void SMESH_GroupOnFilter_i::OnBaseObjModified(NotifyerAndWaiter* filter, bool /*removed*/)
+void SMESH_GroupOnFilter_i::OnBaseObjModified(NotifyerAndWaiter* /*filter*/, bool /*removed*/)
 {
   if ( myPreMeshInfo )
     myPreMeshInfo->FullLoadFromFile();
index ebbe8f837cb9b16ea80dad425e44172e9137e31f..e938c123a11e953704f3e9c7fef1578aec92c3a6 100644 (file)
@@ -206,7 +206,7 @@ class SMESH_I_EXPORT SMESH_GroupOnFilter_i:
   virtual bool IsMeshInfoCorrect();
 
   // method of SMESH::NotifyerAndWaiter to update self when myFilter changes
-  virtual void OnBaseObjModified(NotifyerAndWaiter* filter, bool);
+  virtual void OnBaseObjModified(NotifyerAndWaiter* /*filter*/, bool);
 
  private:
   SMESH::Filter_var myFilter;
index 4383564a75db5b425c67e8e5c507a113bd9ee1f2..fae136798babbda3ea2b366ca41dcd38fbd11fa5 100644 (file)
@@ -50,7 +50,7 @@ SMESH_Hypothesis_i::SMESH_Hypothesis_i( PortableServer::POA_ptr thePOA )
   : SALOME::GenericObj_i( thePOA )
 {
   myBaseImpl = 0;
-};
+}
 
 //=============================================================================
 /*!
@@ -65,7 +65,7 @@ SMESH_Hypothesis_i::~SMESH_Hypothesis_i()
   //MESSAGE( "SMESH_Hypothesis_i::~SMESH_Hypothesis_i" );
   if ( myBaseImpl )
     delete myBaseImpl;
-};
+}
 
 //=============================================================================
 /*!
@@ -78,7 +78,7 @@ SMESH_Hypothesis_i::~SMESH_Hypothesis_i()
 char* SMESH_Hypothesis_i::GetName()
 {
   return CORBA::string_dup( myBaseImpl->GetName() );
-};
+}
 
 //=============================================================================
 /*!
@@ -91,7 +91,7 @@ char* SMESH_Hypothesis_i::GetName()
 char* SMESH_Hypothesis_i::GetLibName()
 {
   return CORBA::string_dup( myBaseImpl->GetLibName() );
-};
+}
 
 //=============================================================================
 /*!
@@ -104,7 +104,7 @@ char* SMESH_Hypothesis_i::GetLibName()
 void SMESH_Hypothesis_i::SetLibName(const char* theLibName)
 {
   myBaseImpl->SetLibName( theLibName );
-};
+}
 
 //=============================================================================
 /*!
index af5102563014a8bbd02cdb9deca397030f541bdd..0fcc83ca82b0b8deafc303af62192831cdd44c1f 100644 (file)
@@ -131,10 +131,10 @@ public:
   // method used to convert variable parameters stored in an old study
   // into myMethod2VarParams. It should return a method name for an index of
   // variable parameters. Index is countered from zero
-  virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const { return ""; }
+  virtual std::string getMethodOfParameter(const int /*paramIndex*/, int /*nbVars*/) const { return ""; }
 
   // method intended to remove explicit treatment of Netgen hypotheses from SMESH_NoteBook
-  virtual int getParamIndex(const TCollection_AsciiString& method, int nbVars) const { return -1; }
+  virtual int getParamIndex(const TCollection_AsciiString& /*method*/, int /*nbVars*/) const { return -1; }
 };
 
 // ======================================================
@@ -152,7 +152,7 @@ public:
   virtual std::string GetModuleName() = 0;
 
   // Check if an algorithm is applicable to a shape
-  virtual bool IsApplicable( const TopoDS_Shape &S, bool toCheckAll, int algoDim )
+  virtual bool IsApplicable( const TopoDS_Shape &S, bool /*toCheckAll*/, int algoDim )
   {
     return IsShapeOfDim( S, algoDim );
   }
index efbb036690799bcd6bb86aedd43d01403103218a..ede26913c7c15f675ea5a65ed20098308d75a778 100644 (file)
@@ -1692,25 +1692,25 @@ SMESH_Mesh_i::CutListOfGroups(const SMESH::ListOfGroups& theMainGroups,
 
 namespace // functions making checks according to SMESH::NB_COMMON_NODES_ENUM
 {
-  bool isAllNodesCommon(int nbChecked, int nbCommon, int nbNodes, int nbCorners,
+  bool isAllNodesCommon(int nbChecked, int nbCommon, int nbNodes, int /*nbCorners*/,
                         bool & toStopChecking )
   {
     toStopChecking = ( nbCommon < nbChecked );
     return nbCommon == nbNodes;
   }
-  bool isMainNodesCommon(int nbChecked, int nbCommon, int nbNodes, int nbCorners,
+  bool isMainNodesCommon(int nbChecked, int nbCommon, int /*nbNodes*/, int nbCorners,
                          bool & toStopChecking )
   {
     toStopChecking = ( nbCommon < nbChecked || nbChecked >= nbCorners );
     return nbCommon == nbCorners;
   }
-  bool isAtLeastOneNodeCommon(int nbChecked, int nbCommon, int nbNodes, int nbCorners,
-                              bool & toStopChecking )
+  bool isAtLeastOneNodeCommon(int /*nbChecked*/, int nbCommon, int /*nbNodes*/, int /*nbCorners*/,
+                              bool & /*toStopChecking*/ )
   {
     return nbCommon > 0;
   }
-  bool isMajorityOfNodesCommon(int nbChecked, int nbCommon, int nbNodes, int nbCorners,
-                               bool & toStopChecking )
+  bool isMajorityOfNodesCommon(int /*nbChecked*/, int nbCommon, int nbNodes, int /*nbCorners*/,
+                               bool & /*toStopChecking*/ )
   {
     return nbCommon >= (nbNodes+1) / 2;
   }
index d501a0b8b2268a15bd7abbdd5cf363e2fffe6527..7514ad21580bf1dd2b3a451346aa63836cea69a9 100644 (file)
@@ -72,7 +72,7 @@ namespace
    */
   //================================================================================
 
-  void meshInfoLoaded( SMESH_Mesh_i* mesh )
+  void meshInfoLoaded( SMESH_Mesh_i* /*mesh*/ )
   {
     theMeshCounter++;
   }
@@ -82,7 +82,7 @@ namespace
    */
   //================================================================================
 
-  void filesNoMoreNeeded(SMESH_Mesh_i* mesh,
+  void filesNoMoreNeeded(SMESH_Mesh_i* /*mesh*/,
                          std::string   medFile,
                          std::string   hdfFile)
   {
index 7e444be893672c8d92438e4a8bc527f2f06ccf0d..0d6ec3591a46959b1f387d46a079b657fb089a8c 100644 (file)
@@ -191,10 +191,10 @@ namespace
     bool    _hasInternalFaces;
   public:
     virtual ~Solid() {}
-    virtual bool Contains( TGeomID subID ) const { return true; }
-    virtual bool ContainsAny( const vector< TGeomID>& subIDs ) const { return true; }
+    virtual bool Contains( TGeomID /*subID*/ ) const { return true; }
+    virtual bool ContainsAny( const vector< TGeomID>& /*subIDs*/ ) const { return true; }
     virtual TopAbs_Orientation Orientation( const TopoDS_Shape& s ) const { return s.Orientation(); }
-    virtual bool IsOutsideOriented( TGeomID faceID ) const { return true; }
+    virtual bool IsOutsideOriented( TGeomID /*faceID*/ ) const { return true; }
     void SetID( TGeomID id ) { _id = id; }
     TGeomID ID() const { return _id; }
     void SetHasInternalFaces( bool has ) { _hasInternalFaces = has; }
@@ -5830,9 +5830,9 @@ bool StdMeshers_Cartesian_3D::Compute(SMESH_Mesh &         theMesh,
  */
 //=============================================================================
 
-bool StdMeshers_Cartesian_3D::Evaluate(SMESH_Mesh &         theMesh,
-                                       const TopoDS_Shape & theShape,
-                                       MapShapeNbElems&     theResMap)
+bool StdMeshers_Cartesian_3D::Evaluate(SMESH_Mesh &         /*theMesh*/,
+                                       const TopoDS_Shape & /*theShape*/,
+                                       MapShapeNbElems&     /*theResMap*/)
 {
   // TODO
 //   std::vector<int> aResVec(SMDSEntity_Last);
@@ -5886,10 +5886,10 @@ namespace
     // --------------------------------------------------------------------------------
     // unsetting _alwaysComputed flag if "Cartesian_3D" was removed
     //
-    virtual void ProcessEvent(const int          event,
+    virtual void ProcessEvent(const int          /*event*/,
                               const int          eventType,
                               SMESH_subMesh*     subMeshOfSolid,
-                              SMESH_subMeshEventListenerData* data,
+                              SMESH_subMeshEventListenerData* /*data*/,
                               const SMESH_Hypothesis*         hyp = 0)
     {
       if ( eventType == SMESH_subMesh::COMPUTE_EVENT )
index 18797e278be5c9a0c236959c79d38cc1203be996..611170c80543976d2cc1bfc90b9e1c3467ebbe55 100644 (file)
@@ -51,8 +51,8 @@ public:
 
   virtual bool Compute(SMESH_Mesh& aMesh,  const TopoDS_Shape& aShape);
 
-  virtual bool Evaluate(SMESH_Mesh & aMesh, const TopoDS_Shape & aShape,
-                        MapShapeNbElems& aResMap);
+  virtual bool Evaluate(SMESH_Mesh & /*aMesh*/, const TopoDS_Shape & /*aShape*/,
+                        MapShapeNbElems& /*aResMap*/);
 
   virtual void SetEventListener(SMESH_subMesh* subMesh);
 
index 678ae97ee392fe3631719daa73240bb35e864915..f537fb5f21f7df97bd7d31172d279475eb0ea834 100644 (file)
@@ -283,8 +283,8 @@ StdMeshers_CompositeHexa_3D::StdMeshers_CompositeHexa_3D(int hypId, SMESH_Gen* g
  */
 //================================================================================
 
-bool StdMeshers_CompositeHexa_3D::CheckHypothesis(SMESH_Mesh&         aMesh,
-                                                  const TopoDS_Shape& aShape,
+bool StdMeshers_CompositeHexa_3D::CheckHypothesis(SMESH_Mesh&         /*aMesh*/,
+                                                  const TopoDS_Shape& /*aShape*/,
                                                   Hypothesis_Status&  aStatus)
 {
   aStatus = HYP_OK;
index 695624fe5bda1fdc0b9dfcc898bcd975d106bb2c..1c86c86be414e6e949bd57236e62d43bed60daa5 100644 (file)
@@ -52,8 +52,8 @@ public:
   virtual bool Evaluate(SMESH_Mesh & aMesh, const TopoDS_Shape & aShape,
                         MapShapeNbElems& aResMap);
 
-  virtual bool CheckHypothesis(SMESH_Mesh&         aMesh,
-                               const TopoDS_Shape& aShape,
+  virtual bool CheckHypothesis(SMESH_Mesh&         /*aMesh*/,
+                               const TopoDS_Shape& /*aShape*/,
                                Hypothesis_Status&  aStatus);
 
 private:
index 53877e2abdbd5399bc727f0abeefa31171c454e7..cad2131f25440119a604992371ec754e53f60ad9 100644 (file)
@@ -869,7 +869,7 @@ bool StdMeshers_Hexa_3D::IsApplicable( const TopoDS_Shape & aShape, bool toCheck
     if ( !toCheckAll && ok ) return true;
   }
   return toCheckAll;
-};
+}
 
 //=======================================================================
 //function : ComputePentahedralMesh
index 300ef4d43eb9e6a9aa7066b324ae718cf7403cf0..0e0c0beea19e6b33e19a3fcb086be5202afa87dd 100644 (file)
@@ -677,7 +677,7 @@ bool StdMeshers_MEFISTO_2D::LoadPoints(TWireVector &                 wires,
  */
 //=============================================================================
 
-void StdMeshers_MEFISTO_2D::ComputeScaleOnFace(SMESH_Mesh &        aMesh,
+void StdMeshers_MEFISTO_2D::ComputeScaleOnFace(SMESH_Mesh &        /*aMesh*/,
                                                const TopoDS_Face & aFace,
                                                double &            scalex,
                                                double &            scaley)
index fca6c2fa50a3cefd7245f748f131856ea1934e9f..f56cbb8e448226ad1e50355974faf3f1e4cb1759 100644 (file)
@@ -68,7 +68,7 @@ public:
                   std::vector< const SMDS_MeshNode*>& mefistoToDS,
                   double scalex, double               scaley);
 
-  void ComputeScaleOnFace(SMESH_Mesh& aMesh,
+  void ComputeScaleOnFace(SMESH_Mesh& /*aMesh*/,
                           const TopoDS_Face& aFace,
                           double& scalex,
                           double& scaley);
index ab14a3cbefd553b67f0013e91f69d65e02aae06f..0de1cd9e60cdf4db6a8d40fb07b34266b111342d 100644 (file)
@@ -81,7 +81,7 @@ istream & StdMeshers_NotConformAllowed::LoadFrom(istream & load)
  */
 //=============================================================================
 
-ostream & operator << (ostream & save, StdMeshers_NotConformAllowed & hyp)
+ostream & operator << (ostream & save, StdMeshers_NotConformAllowed & /*hyp*/)
 {
   return save;
 }
@@ -92,7 +92,7 @@ ostream & operator << (ostream & save, StdMeshers_NotConformAllowed & hyp)
  */
 //=============================================================================
 
-istream & operator >> (istream & load, StdMeshers_NotConformAllowed & hyp)
+istream & operator >> (istream & load, StdMeshers_NotConformAllowed & /*hyp*/)
 {
   return load;
 }
index de129efe10949c2274955dfc74156a74c1267a16..49f205cc88cbb58cf4a352600d852e5b26d9924a 100644 (file)
@@ -42,8 +42,8 @@ public:
 
   virtual std::ostream & SaveTo(std::ostream & save);
   virtual std::istream & LoadFrom(std::istream & load);
-  friend std::ostream & operator << (std::ostream & save, StdMeshers_NotConformAllowed & hyp);
-  friend std::istream & operator >> (std::istream & load, StdMeshers_NotConformAllowed & hyp);
+  friend std::ostream & operator << (std::ostream & save, StdMeshers_NotConformAllowed & /*hyp*/);
+  friend std::istream & operator >> (std::istream & load, StdMeshers_NotConformAllowed & /*hyp*/);
 
   /*!
    * \brief Initialize my parameter values by the mesh built on the geometry
index c842093ecd1ef98cca26c892369fd793a4fb7f8e..586ec1e9cbf10d02f58bd2fe8eba6e0fab2075f9 100644 (file)
@@ -60,8 +60,8 @@ StdMeshers_PolygonPerFace_2D::StdMeshers_PolygonPerFace_2D(int        hypId,
 //purpose  : 
 //=======================================================================
 
-bool StdMeshers_PolygonPerFace_2D::CheckHypothesis(SMESH_Mesh&                          theMesh,
-                                                   const TopoDS_Shape&                  theShape,
+bool StdMeshers_PolygonPerFace_2D::CheckHypothesis(SMESH_Mesh&                          /*theMesh*/,
+                                                   const TopoDS_Shape&                  /*theShape*/,
                                                    SMESH_Hypothesis::Hypothesis_Status& theStatus)
 {
   theStatus = HYP_OK;
index d2486b56d624f78d54c60ea9830d2610d7c76fe6..f2d47e1ec75dd83b1263818c8a9ae449795868b3 100644 (file)
@@ -34,8 +34,8 @@ class STDMESHERS_EXPORT StdMeshers_PolygonPerFace_2D: public SMESH_2D_Algo
  public:
   StdMeshers_PolygonPerFace_2D(int hypId, SMESH_Gen* gen);
 
-  virtual bool CheckHypothesis(SMESH_Mesh&                          aMesh,
-                               const TopoDS_Shape&                  aShape,
+  virtual bool CheckHypothesis(SMESH_Mesh&                          /*aMesh*/,
+                               const TopoDS_Shape&                  /*aShape*/,
                                SMESH_Hypothesis::Hypothesis_Status& aStatus);
 
   virtual bool Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape);
index 4f4cf213b8effd493797feba0d5f712d85f4411c..b5f1cb6c648a19fa449797e10e57b2214869b54d 100644 (file)
@@ -450,7 +450,7 @@ namespace {
   //================================================================================
 
   int countNbSides( const Prism_3D::TPrismTopo & thePrism,
-                    vector<int> &                nbUnitePerEdge,
+                    vector<int> &                /*nbUnitePerEdge*/,
                     vector< double > &           edgeLength)
   {
     int nbEdges = thePrism.myNbEdgesInWires.front();  // nb outer edges
@@ -598,8 +598,8 @@ StdMeshers_Prism_3D::~StdMeshers_Prism_3D()
 //purpose  :
 //=======================================================================
 
-bool StdMeshers_Prism_3D::CheckHypothesis(SMESH_Mesh&                          aMesh,
-                                          const TopoDS_Shape&                  aShape,
+bool StdMeshers_Prism_3D::CheckHypothesis(SMESH_Mesh&                          /*aMesh*/,
+                                          const TopoDS_Shape&                  /*aShape*/,
                                           SMESH_Hypothesis::Hypothesis_Status& aStatus)
 {
   // no hypothesis
index d910bdd27343e228d397c3f92ca9c2e52efec89d..b821c057a016b8d40ec790e6cadf1e9c3f46e7aa 100644 (file)
@@ -482,8 +482,8 @@ public:
   StdMeshers_Prism_3D(int hypId, SMESH_Gen* gen);
   virtual ~StdMeshers_Prism_3D();
 
-  virtual bool CheckHypothesis(SMESH_Mesh&                          aMesh,
-                               const TopoDS_Shape&                  aShape,
+  virtual bool CheckHypothesis(SMESH_Mesh&                          /*aMesh*/,
+                               const TopoDS_Shape&                  /*aShape*/,
                                SMESH_Hypothesis::Hypothesis_Status& aStatus);
 
   virtual bool Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape);
index 5ae1f3af13c71ccd501c2c435353fe2cffe37f10..32509f6266cac068889d3a25f1da1c5cae94370a 100644 (file)
@@ -336,6 +336,6 @@ namespace StdMeshers_ProjectionUtils
   TopoDS_Edge GetBoundaryEdge(const TopoDS_Shape&       edgeContainer,
                               const SMESH_Mesh&         mesh,
                               std::list< TopoDS_Edge >* allBndEdges = 0 );
-};
+}
 
 #endif
index b2700dfcc898bd10518213befa174104825b65a2..4f689c7e98e4086637191edb5ddf90a3af5b6678 100644 (file)
@@ -278,7 +278,7 @@ namespace {
   //================================================================================
 
   bool getBoundaryNodes ( SMESH_subMesh*                        sm,
-                          const TopoDS_Face&                    face,
+                          const TopoDS_Face&                    /*face*/,
                           map< double, const SMDS_MeshNode* > & u2nodes,
                           set< const SMDS_MeshNode* > &         seamNodes)
   {
@@ -975,13 +975,13 @@ namespace {
    */
   //================================================================================
 
-  bool projectQuads(const TopoDS_Face&                 tgtFace,
-                    const TopoDS_Face&                 srcFace,
-                    const TSideVector&                 tgtWires,
-                    const TSideVector&                 srcWires,
-                    const TAssocTool::TShapeShapeMap&  shape2ShapeMap,
-                    TAssocTool::TNodeNodeMap&          src2tgtNodes,
-                    const bool                         is1DComputed)
+  bool projectQuads(const TopoDS_Face&                 /*tgtFace*/,
+                    const TopoDS_Face&                 /*srcFace*/,
+                    const TSideVector&                 /*tgtWires*/,
+                    const TSideVector&                 /*srcWires*/,
+                    const TAssocTool::TShapeShapeMap&  /*shape2ShapeMap*/,
+                    TAssocTool::TNodeNodeMap&          /*src2tgtNodes*/,
+                    const bool                         /*is1DComputed*/)
   {
     // SMESH_Mesh * tgtMesh = tgtWires[0]->GetMesh();
     // SMESH_Mesh * srcMesh = srcWires[0]->GetMesh();
index 03c7e8d8021d859e75cf3d44d71af0cba1165db5..fe4fc5c35f83264a68efb7f35aced4896579778b 100644 (file)
@@ -260,8 +260,8 @@ namespace
     virtual void ProcessEvent(const int                       event,
                               const int                       eventType,
                               SMESH_subMesh*                  faceSubMesh,
-                              SMESH_subMeshEventListenerData* data,
-                              const SMESH_Hypothesis*         hyp)
+                              SMESH_subMeshEventListenerData* /*data*/,
+                              const SMESH_Hypothesis*         /*hyp*/)
     {
       if ( eventType == SMESH_subMesh::ALGO_EVENT )
       {
@@ -1248,7 +1248,7 @@ namespace
   //================================================================================
 
   void separateNodes( SMESH_MesherHelper&            theHelper,
-                      const SMESH_MAT2d::MedialAxis& theMA,
+                      const SMESH_MAT2d::MedialAxis& /*theMA*/,
                       TMAPar2NPoints &               thePointsOnE,
                       SinuousFace&                   theSinuFace,
                       const vector< bool >&          theIsComputedEdge)
@@ -1932,7 +1932,7 @@ namespace
                           const vector<TopoDS_Edge>& theShortEdges,
                           SMESH_Algo*                the1dAlgo,
                           const bool                 theHasRadialHyp,
-                          const bool                 theIs2nd)
+                          const bool                 /*theIs2nd*/)
   {
     SMESH_Hypothesis::Hypothesis_Status aStatus;
     for ( size_t i = 0; i < theShortEdges.size(); ++i )
index dca028078f63483d7d82d324cc6763d584987283..7e114e39b99d6d4cb0864ecbd454967691b204df 100644 (file)
@@ -3208,8 +3208,8 @@ bool StdMeshers_Quadrangle_2D::evaluateQuadPref(SMESH_Mesh &        aMesh,
  */
 //=============================================================================
 
-void StdMeshers_Quadrangle_2D::splitQuadFace(SMESHDS_Mesh *       theMeshDS,
-                                             int                  theFaceID,
+void StdMeshers_Quadrangle_2D::splitQuadFace(SMESHDS_Mesh *       /*theMeshDS*/,
+                                             int                  /*theFaceID*/,
                                              const SMDS_MeshNode* theNode1,
                                              const SMDS_MeshNode* theNode2,
                                              const SMDS_MeshNode* theNode3,
index caec612922820b29a027d2a76452e0baeb14b10e..c120323f880c23f54c6ef0bc53ec77aa6af192f7 100644 (file)
@@ -174,8 +174,8 @@ class STDMESHERS_EXPORT StdMeshers_Quadrangle_2D: public SMESH_2D_Algo
 
   bool setNormalizedGrid(FaceQuadStruct::Ptr quad);
 
-  void splitQuadFace(SMESHDS_Mesh *       theMeshDS,
-                     const int            theFaceID,
+  void splitQuadFace(SMESHDS_Mesh *       /*theMeshDS*/,
+                     const int            /*theFaceID*/,
                      const SMDS_MeshNode* theNode1,
                      const SMDS_MeshNode* theNode2,
                      const SMDS_MeshNode* theNode3,
index 5a45841e6bebf7feb1cd5e894d6021dc01d149f2..f2d2970afd48e095143ec341a08a9167a21d68d6 100644 (file)
@@ -636,4 +636,4 @@ bool StdMeshers_RadialPrism_3D::IsApplicable( const TopoDS_Shape & aShape, bool
     if ( !toCheckAll ) return true;
   }
   return ( toCheckAll && nbFoundSolids != 0);
-};
+}
index 6d43372eb2d308276292c97b4b2e8aa0054698c3..a0d6119cb3cb32c6ec311e909bf571dd3d322921 100644 (file)
@@ -164,9 +164,9 @@ namespace
       return &theEdgeMarker;
     }
     //! Clear edge sumbesh if something happens on face
-    void ProcessEvent(const int          event,
+    void ProcessEvent(const int          /*event*/,
                       const int          eventType,
-                      SMESH_subMesh*     faceSubMesh,
+                      SMESH_subMesh*     /*faceSubMesh*/,
                       EventListenerData* edgesHolder,
                       const SMESH_Hypothesis*  /*hyp*/)
     {
@@ -402,9 +402,9 @@ namespace
    */
   //================================================================================
 
-  bool isCornerInsideCircle(const StdMeshers_FaceSidePtr& CircSide,
-                            const StdMeshers_FaceSidePtr& LinSide1,
-                            const StdMeshers_FaceSidePtr& LinSide2)
+  bool isCornerInsideCircle(const StdMeshers_FaceSidePtr& /*CircSide*/,
+                            const StdMeshers_FaceSidePtr& /*LinSide1*/,
+                            const StdMeshers_FaceSidePtr& /*LinSide2*/)
   {
     // if ( CircSide && LinSide1 && LinSide2 )
     // {
@@ -1279,4 +1279,4 @@ bool StdMeshers_RadialQuadrangle_1D2D::IsApplicable( const TopoDS_Shape & aShape
   }
   if( toCheckAll && nbFoundFaces != 0 ) return true;
   return false;
-};
+}
index 310b164d5add0f235547b13ddf6c5fed30941035..82f0f5fbeb328de1ae2feea13379f829d0bfafbc 100644 (file)
@@ -206,8 +206,8 @@ namespace VISCOUS_3D
     virtual void ProcessEvent(const int                       event,
                               const int                       eventType,
                               SMESH_subMesh*                  subMesh,
-                              SMESH_subMeshEventListenerData* data,
-                              const SMESH_Hypothesis*         hyp)
+                              SMESH_subMeshEventListenerData* /*data*/,
+                              const SMESH_Hypothesis*         /*hyp*/)
     {
       if (( SMESH_subMesh::COMPUTE_EVENT       == eventType ) &&
           ( SMESH_subMesh::CHECK_COMPUTE_STATE != event &&
@@ -440,7 +440,7 @@ namespace VISCOUS_3D
     std::string DumpFlags() const; // debug
 
     void SetNewLength( double len, _EdgesOnShape& eos, SMESH_MesherHelper& helper );
-    bool SetNewLength2d( Handle(Geom_Surface)& surface,
+    bool SetNewLength2d( Handle(Geom_Surface)& /*surface*/,
                          const TopoDS_Face&    F,
                          _EdgesOnShape&        eos,
                          SMESH_MesherHelper&   helper );
@@ -451,7 +451,7 @@ namespace VISCOUS_3D
     void Block( _SolidData& data );
     void InvalidateStep( size_t curStep, const _EdgesOnShape& eos, bool restoreLength=false );
     void ChooseSmooFunction(const set< TGeomID >& concaveVertices,
-                            const TNode2Edge&     n2eMap);
+                            const TNode2Edge&     /*n2eMap*/);
     void SmoothPos( const vector< double >& segLen, const double tol );
     int  GetSmoothedPos( const double tol );
     int  Smooth(const int step, const bool isConcaveFace, bool findBest);
@@ -937,7 +937,7 @@ namespace VISCOUS_3D
                          bool                 shiftInside=false);
     bool getFaceNormalAtSingularity(const gp_XY&        uv,
                                     const TopoDS_Face&  face,
-                                    SMESH_MesherHelper& helper,
+                                    SMESH_MesherHelper& /*helper*/,
                                     gp_Dir&             normal );
     gp_XYZ getWeigthedNormal( const _LayerEdge*                edge );
     gp_XYZ getNormalByOffset( _LayerEdge*                      edge,
@@ -975,15 +975,15 @@ namespace VISCOUS_3D
                                                 SMESH_MesherHelper& helper );
     void limitMaxLenByCurvature( _SolidData& data, SMESH_MesherHelper& helper );
     void limitMaxLenByCurvature( _LayerEdge* e1, _LayerEdge* e2,
-                                 _EdgesOnShape& eos1, _EdgesOnShape& eos2,
-                                 const bool isSmoothable );
-    bool updateNormals( _SolidData& data, SMESH_MesherHelper& helper, int stepNb, double stepSize );
+                                 _EdgesOnShape& /*eos1*/, _EdgesOnShape& /*eos2*/,
+                                 const bool /*isSmoothable*/ );
+    bool updateNormals( _SolidData& data, SMESH_MesherHelper& helper, int stepNb, double /*stepSize*/ );
     bool updateNormalsOfConvexFaces( _SolidData&         data,
                                      SMESH_MesherHelper& helper,
                                      int                 stepNb );
     void updateNormalsOfC1Vertices( _SolidData& data );
     bool updateNormalsOfSmoothed( _SolidData&         data,
-                                  SMESH_MesherHelper& helper,
+                                  SMESH_MesherHelper& /*helper*/,
                                   const int           nbSteps,
                                   const double        stepSize );
     bool isNewNormalOk( _SolidData&   data,
@@ -993,7 +993,7 @@ namespace VISCOUS_3D
     bool shrink(_SolidData& data);
     bool prepareEdgeToShrink( _LayerEdge& edge, _EdgesOnShape& eos,
                               SMESH_MesherHelper& helper,
-                              const SMESHDS_SubMesh* faceSubMesh );
+                              const SMESHDS_SubMesh* /*faceSubMesh*/ );
     void restoreNoShrink( _LayerEdge& edge ) const;
     void fixBadFaces(const TopoDS_Face&          F,
                      SMESH_MesherHelper&         helper,
@@ -1091,10 +1091,10 @@ namespace VISCOUS_3D
                              Handle(ShapeAnalysis_Surface)& surface,
                              const TopoDS_Face&             F,
                              SMESH_MesherHelper&            helper);
-    bool smoothComplexEdge( _SolidData&                    data,
+    bool smoothComplexEdge( _SolidData&                    /*data*/,
                             Handle(ShapeAnalysis_Surface)& surface,
                             const TopoDS_Face&             F,
-                            SMESH_MesherHelper&            helper);
+                            SMESH_MesherHelper&            /*helper*/);
     gp_XYZ getNormalNormal( const gp_XYZ & normal,
                             const gp_XYZ&  edgeDir);
     _LayerEdge* getLEdgeOnV( bool is2nd )
@@ -1376,8 +1376,8 @@ std::istream & StdMeshers_ViscousLayers::LoadFrom(std::istream & load)
   }
   return load;
 } // --------------------------------------------------------------------------------
-bool StdMeshers_ViscousLayers::SetParametersByMesh(const SMESH_Mesh*   theMesh,
-                                                   const TopoDS_Shape& theShape)
+bool StdMeshers_ViscousLayers::SetParametersByMesh(const SMESH_Mesh*   /*theMesh*/,
+                                                   const TopoDS_Shape& /*theShape*/)
 {
   // TODO
   return false;
@@ -3953,7 +3953,7 @@ gp_XYZ _ViscousBuilder::getFaceNormal(const SMDS_MeshNode* node,
 
 bool _ViscousBuilder::getFaceNormalAtSingularity( const gp_XY&        uv,
                                                   const TopoDS_Face&  face,
-                                                  SMESH_MesherHelper& helper,
+                                                  SMESH_MesherHelper& /*helper*/,
                                                   gp_Dir&             normal )
 {
   BRepAdaptor_Surface surface( face );
@@ -6086,10 +6086,10 @@ bool _Smoother1D::smoothAnalyticEdge( _SolidData&                    data,
  */
 //================================================================================
 
-bool _Smoother1D::smoothComplexEdge( _SolidData&                    data,
+bool _Smoother1D::smoothComplexEdge( _SolidData&                    /*data*/,
                                      Handle(ShapeAnalysis_Surface)& surface,
                                      const TopoDS_Face&             F,
-                                     SMESH_MesherHelper&            helper)
+                                     SMESH_MesherHelper&            /*helper*/)
 {
   if ( _offPoints.empty() )
     return false;
@@ -6746,7 +6746,7 @@ void _SolidData::AddShapesToSmooth( const set< _EdgesOnShape* >& eosToSmooth,
  */
 //================================================================================
 
-void _ViscousBuilder::limitMaxLenByCurvature( _SolidData& data, SMESH_MesherHelper& helper )
+void _ViscousBuilder::limitMaxLenByCurvature( _SolidData& data, SMESH_MesherHelper& /*helper*/ )
 {
   // find intersection of neighbor _LayerEdge's to limit _maxLen
   // according to local curvature (IPAL52648)
@@ -6798,9 +6798,9 @@ void _ViscousBuilder::limitMaxLenByCurvature( _SolidData& data, SMESH_MesherHelp
 
 void _ViscousBuilder::limitMaxLenByCurvature( _LayerEdge*    e1,
                                               _LayerEdge*    e2,
-                                              _EdgesOnShape& eos1,
-                                              _EdgesOnShape& eos2,
-                                              const bool     isSmoothable )
+                                              _EdgesOnShape& /*eos1*/,
+                                              _EdgesOnShape& /*eos2*/,
+                                              const bool     /*isSmoothable*/ )
 {
   if (( e1->_nodes[0]->GetPosition()->GetDim() !=
         e2->_nodes[0]->GetPosition()->GetDim() ) &&
@@ -7119,7 +7119,7 @@ void _ViscousBuilder::findEdgesToUpdateNormalNearConvexFace( _ConvexFace &
 bool _ViscousBuilder::updateNormals( _SolidData&         data,
                                      SMESH_MesherHelper& helper,
                                      int                 stepNb,
-                                     double              stepSize)
+                                     double              /*stepSize*/)
 {
   updateNormalsOfC1Vertices( data );
 
@@ -7459,7 +7459,7 @@ bool _ViscousBuilder::isNewNormalOk( _SolidData&   data,
 //================================================================================
 
 bool _ViscousBuilder::updateNormalsOfSmoothed( _SolidData&         data,
-                                               SMESH_MesherHelper& helper,
+                                               SMESH_MesherHelper& /*helper*/,
                                                const int           nbSteps,
                                                const double        stepSize )
 {
@@ -8917,7 +8917,7 @@ int _LayerEdge::Smooth(const int step, const bool isConcaveFace, bool findBest )
 //================================================================================
 
 void _LayerEdge::ChooseSmooFunction( const set< TGeomID >& concaveVertices,
-                                     const TNode2Edge&     n2eMap)
+                                     const TNode2Edge&     /*n2eMap*/)
 {
   if ( _smooFunction ) return;
 
@@ -11512,7 +11512,7 @@ bool _ViscousBuilder::shrink(_SolidData& theData)
 bool _ViscousBuilder::prepareEdgeToShrink( _LayerEdge&            edge,
                                            _EdgesOnShape&         eos,
                                            SMESH_MesherHelper&    helper,
-                                           const SMESHDS_SubMesh* faceSubMesh)
+                                           const SMESHDS_SubMesh* /*faceSubMesh*/)
 {
   const SMDS_MeshNode* srcNode = edge._nodes[0];
   const SMDS_MeshNode* tgtNode = edge._nodes.back();
@@ -11801,7 +11801,7 @@ void _ViscousBuilder::fixBadFaces(const TopoDS_Face&          F,
  */
 //================================================================================
 
-bool _LayerEdge::SetNewLength2d( Handle(Geom_Surface)& surface,
+bool _LayerEdge::SetNewLength2d( Handle(Geom_Surface)& /*surface*/,
                                  const TopoDS_Face&    F,
                                  _EdgesOnShape&        eos,
                                  SMESH_MesherHelper&   helper )
index 76b0a340f324918c8b62976d8883c8b7084549b7..dfb2bdc308f03cafd81585d0c15a1265164c0799 100644 (file)
@@ -106,13 +106,13 @@ public:
     * \param theShape - the geometry of interest
     * \retval bool - true if parameter values have been successfully defined
    */
-  virtual bool SetParametersByMesh(const SMESH_Mesh* theMesh, const TopoDS_Shape& theShape);
+  virtual bool SetParametersByMesh(const SMESH_Mesh* /*theMesh*/, const TopoDS_Shape& /*theShape*/);
 
   /*!
    * \brief Initialize my parameter values by default parameters.
    *  \retval bool - true if parameter values have been successfully defined
    */
-  virtual bool SetParametersByDefaults(const TDefaults& dflts, const SMESH_Mesh* theMesh=0)
+  virtual bool SetParametersByDefaults(const TDefaults& /*dflts*/, const SMESH_Mesh* theMesh=0)
   { return false; }
 
   static const char* GetHypType() { return "ViscousLayers"; }
index 3935575a67645d7b34cb55d7c774df6ce8b67290..5615d934544f906801bd9737b58a603b7b3fe1f9 100644 (file)
@@ -509,8 +509,8 @@ StdMeshers_ViscousLayers2D::StdMeshers_ViscousLayers2D(int hypId, SMESH_Gen* gen
   _param_algo_dim = -2; // auxiliary hyp used by 2D algos
 }
 // --------------------------------------------------------------------------------
-bool StdMeshers_ViscousLayers2D::SetParametersByMesh(const SMESH_Mesh*   theMesh,
-                                                     const TopoDS_Shape& theShape)
+bool StdMeshers_ViscousLayers2D::SetParametersByMesh(const SMESH_Mesh*   /*theMesh*/,
+                                                     const TopoDS_Shape& /*theShape*/)
 {
   // TODO ???
   return false;
index fd39653d7d98da17191dedbf79dc00cb49aa2c1a..0e9ca988075efcc1941d6d31829a2c4fbbb81fe6 100644 (file)
@@ -62,13 +62,13 @@ public:
    *
    * Just return false as this hypothesis does not have parameters values
    */
-  virtual bool SetParametersByMesh(const SMESH_Mesh* theMesh, const TopoDS_Shape& theShape);
+  virtual bool SetParametersByMesh(const SMESH_Mesh* /*theMesh*/, const TopoDS_Shape& /*theShape*/);
 
   /*!
    * \brief Initialize my parameter values by default parameters.
    *  \retval bool - true if parameter values have been successfully defined
    */
-  virtual bool SetParametersByDefaults(const TDefaults& dflts, const SMESH_Mesh* theMesh=0)
+  virtual bool SetParametersByDefaults(const TDefaults& /*dflts*/, const SMESH_Mesh* theMesh=0)
   { return false; }
 
   static const char* GetHypType() { return "ViscousLayers2D"; }
index a0844ac07dd3b378e39e4eca5650443b6c1a3ce3..c9c2da4cbbdd750481e72277c506128b3be94921 100644 (file)
@@ -85,10 +85,10 @@ class STDMESHERS_I_EXPORT StdMeshers_Adaptive1D_i:
   CORBA::Boolean IsDimSupported( SMESH::Dimension type );
 
   // Methods for copying mesh definition to other geometry
-  virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
-                                   std::vector< int >         & subIDArray ) const { return false; }
-  virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
-                                   std::vector< int >         & subIDArray ) { return true; }
+  virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+                                   std::vector< int >         & /*subIDArray*/ ) const { return false; }
+  virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+                                   std::vector< int >         & /*subIDArray*/ ) { return true; }
 };
 
 #endif
index 49655079fe2b3305eb5a1388c117c0c141470318..e71a29677b0fc6f549bf57756685b6231d7638d9 100644 (file)
@@ -78,7 +78,7 @@ void Maillage::afficheMailles(TYPE_MAILLE tm)
     }
 }
 
-void Maillage::listeMaillesType(TYPE_MAILLE tm)
+void Maillage::listeMaillesType(TYPE_MAILLE /*tm*/)
 {
   cout << "La fonction \"Restitution des mailles par type\" est obsolète " << endl;
 
@@ -854,7 +854,7 @@ void Maillage::inputMED(std::string fichierMED)
 }
 
 void Maillage::acquisitionTYPE_inputMED(TYPE_MAILLE TYPE, int nTYPE, med_idt fid, char maa[MED_NAME_SIZE + 1],
-                                        med_int mdim)
+                                        med_int /*mdim*/)
 {
 
   //  int taille, numeromaille, numeroFamille;
@@ -1595,7 +1595,7 @@ TYPE_MAILLE Maillage::TYPE(int nglobal)
   return resultat;
 }
 
-int Maillage::NLOCAL(int nglobal, TYPE_MAILLE tm)
+int Maillage::NLOCAL(int nglobal, TYPE_MAILLE /*tm*/)
 {
   // Attention, les num. globaux commencent à 1, les num. locaux à 0
   int nPOI1 = EFFECTIFS_TYPES[POI1];
index 6e9e8390d09566f830f784986f39cf1c217f0242..2b3200d885ac0ce37e3355dde689942b698cf435 100644 (file)
@@ -95,7 +95,7 @@ namespace MESHCUT
 
       void creationGMtype(TYPE_MAILLE tm, std::string nomGMtype);
       void afficheMailles(TYPE_MAILLE tm);
-      void listeMaillesType(TYPE_MAILLE tm);
+      void listeMaillesType(TYPE_MAILLE /*tm*/);
       void listeMaillesTousTypes();
       void listeMaillesParGM();
       void listeMaillesGM(std::string nomGM);
@@ -120,13 +120,13 @@ namespace MESHCUT
       // std::string vrmlType(TYPE_MAILLE tm, char *renduAretes, char *renduFaces, float transparence);
       // void Maillage::creationGMtype(TYPE_MAILLE tm, std::vector<int> CON_TYPE);
       int NGLOBAL(TYPE_MAILLE typeMaille, int nlocal);
-      int NLOCAL(int nglobal, TYPE_MAILLE tm);
+      int NLOCAL(int nglobal, TYPE_MAILLE /*tm*/);
       TYPE_MAILLE TYPE(int nglobal);
       void eliminationMailles(TYPE_MAILLE typeMaille, std::vector<int> listeMaillesSuppr);
 
       // acquisitionTYPE_inputMED appelée par inputMED
       void
-          acquisitionTYPE_inputMED(TYPE_MAILLE TYPE, int nTYPE, med_idt fid, char maa[MED_NAME_SIZE + 1], med_int mdim);
+          acquisitionTYPE_inputMED(TYPE_MAILLE TYPE, int nTYPE, med_idt fid, char maa[MED_NAME_SIZE + 1], med_int /*mdim*/);
 
       // void infoChamps(std::string type, med_entity_type MEM, med_geometry_type MGE, med_idt fid, char *maa,
       //                 char *nomChamp, med_field_type typeChamp, med_int nCompChamp, std::map<std::string, int> REFGAUSS);