Salome HOME
Patch for MacOS (from SALOME forum)
[modules/smesh.git] / src / Tools / MeshCut / MeshCut_Utils.cxx
index 26c1995d51fe8a6dc1c659a0d786ac7965df8e1e..3a41721cafda0cccae8d70cce7e845831bb84f38 100644 (file)
@@ -534,7 +534,7 @@ int MESHCUT::copieFichier(std::string source, std::string cible)
 
 med_geometry_type MESHCUT::InstanceMGE(TYPE_MAILLE TYPE)
 {
-  med_geometry_type typeBanaliseMED;
+  med_geometry_type typeBanaliseMED = MED_NONE;
 
   switch (TYPE)
   {
@@ -589,7 +589,7 @@ med_geometry_type MESHCUT::InstanceMGE(TYPE_MAILLE TYPE)
   return typeBanaliseMED;
 }
 
-int MESHCUT::chrono()
+int MESHCUT::salome_chrono()
 {
   return clock() / CLOCKS_PER_SEC;
 }