]> SALOME platform Git repositories - plugins/gmshplugin.git/commitdiff
Salome HOME
#18963 Minimize compiler warnings
authorSALOME <salome@opencascade.com>
Wed, 26 Aug 2020 08:14:56 +0000 (11:14 +0300)
committervsr <vsr@opencascade.com>
Tue, 8 Dec 2020 15:59:39 +0000 (18:59 +0300)
src/GMSHPlugin/GMSHPlugin_Hypothesis.cxx
src/GMSHPlugin/GMSHPlugin_Hypothesis_i.cxx
src/GMSHPlugin/GMSHPlugin_i.cxx

index d425d92a35594ec0ed8b0069d27818a81d253356..5a55ab213154c26a957bda5bf10fbc2bafa5427d 100644 (file)
@@ -331,8 +331,8 @@ std::istream & GMSHPlugin_Hypothesis::LoadFrom(std::istream & load)
  * \retval bool - always false
  */
 //================================================================================
-bool GMSHPlugin_Hypothesis::SetParametersByMesh(const SMESH_Mesh*   theMesh,
-                                                  const TopoDS_Shape& theShape)
+bool GMSHPlugin_Hypothesis::SetParametersByMesh(const SMESH_Mesh*   /*theMesh*/,
+                                                  const TopoDS_Shape& /*theShape*/)
 {
   return false;
 }
@@ -344,8 +344,8 @@ bool GMSHPlugin_Hypothesis::SetParametersByMesh(const SMESH_Mesh*   theMesh,
  */
 //================================================================================
 
-bool GMSHPlugin_Hypothesis::SetParametersByDefaults(const TDefaults&  dflts,
-                                                    const SMESH_Mesh* theMesh)
+bool GMSHPlugin_Hypothesis::SetParametersByDefaults(const TDefaults&  /*dflts*/,
+                                                    const SMESH_Mesh* /*theMesh*/)
 {
   //_nbSegPerEdge = dflts._nbSegments;
   //_maxSize      = dflts._elemLength;
index 89b32d3e281cbed4ab9715d7d740950906943fc0..54000b72256e0c1e684643041b0b359dbf3d937e 100644 (file)
@@ -352,7 +352,7 @@ std::string GMSHPlugin_Hypothesis_i::getMethodOfParameter(const int paramIndex,
 
 bool
 GMSHPlugin_Hypothesis_i::getObjectsDependOn( std::vector< std::string > & entryArray,
-                                             std::vector< int >         & subIDArray ) const
+                                             std::vector< int >         & /*subIDArray*/ ) const
 {
   typedef ::GMSHPlugin_Hypothesis THyp;
   const THyp* impl = static_cast<const THyp*>( myBaseImpl );
@@ -371,7 +371,7 @@ GMSHPlugin_Hypothesis_i::getObjectsDependOn( std::vector< std::string > & entryA
 
 bool
 GMSHPlugin_Hypothesis_i::setObjectsDependOn( std::vector< std::string > & entryArray,
-                                             std::vector< int >         & subIDArray )
+                                             std::vector< int >         & /*subIDArray*/ )
 {
   typedef ::GMSHPlugin_Hypothesis THyp;
   THyp* impl = static_cast< THyp* >( myBaseImpl );
index 41780fd38b7ff4a3de96205664f060543eff6575..e3ac90cc1c8f96db948cf49da5af3edf91074ab8 100644 (file)
@@ -58,7 +58,6 @@ extern "C"
       aCreator = new GMSHPlugin_Creator_i<GMSHPlugin_Hypothesis_i>;
     else if (strcmp(aHypName, "GMSH_Parameters_2D") == 0)
       aCreator = new GMSHPlugin_Creator_i<GMSHPlugin_Hypothesis_2D_i>;
-    else ;
 
     return aCreator;
   }