Salome HOME
Fix for "16925 [CEA 16749] MeshCut Python exception with Windows" issue.
[modules/smesh.git] / src / Tools / MeshCut / MeshCut_Maillage.cxx
index 1c7726730694d5cd8eb1c9c360ebcd713ca85ef2..c6cc137dd2331d146d6a1ade23ac2cde2a0ba427 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2016  EDF R&D
+// Copyright (C) 2006-2019  EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -324,7 +324,7 @@ void Maillage::inputMED(std::string fichierMED)
   // Lecture des infos concernant le premier maillage
   if (MEDmeshInfo(fid, 1, maa, &spacedim, &mdim, &type, desc, dtunit, &sortingtype, &nPasTemps, &axistype, axisname,
                   unitname) < 0)
-    ERREUR("Error while reading mesh informations ");
+    ERREUR("Error while reading mesh information ");
   //cout << chrono() << " --- inputMED: MEDmeshInfo: OK" << endl;
 
 //  cerr << "maa=" << maa << endl;
@@ -934,7 +934,7 @@ void Maillage::acquisitionTYPE_inputMED(TYPE_MAILLE TYPE, int nTYPE, med_idt fid
 void Maillage::outputMED(std::string fichierMED)
 {
   // int i, j, k;
-  int nTYPE, tTYPE;
+  int nTYPE;//, tTYPE;
   string line, s, stype, nomnoeud;
   //  med_err ret = 0; // Code retour
   //  int ig, jg;
@@ -1457,7 +1457,7 @@ void Maillage::outputMED(std::string fichierMED)
       if (EFFECTIFS_TYPES[tm])
         {
           nTYPE = EFFECTIFS_TYPES[tm];
-          tTYPE = Nnoeuds(tm);
+          //tTYPE = Nnoeuds(tm);
           MGE = InstanceMGE(tm);
           stype = TM2string(tm);