From: Anthony Geay Date: Tue, 18 Aug 2015 12:01:20 +0000 (+0200) Subject: For old MED file fra.med the returned code of MEDmeshUniversalNameRd is not 0. For... X-Git-Tag: V7_7_0a1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=417249e453cb1a216cc924584d9df8399b411a29;p=tools%2Fmedcoupling.git For old MED file fra.med the returned code of MEDmeshUniversalNameRd is not 0. For the moment comment the protection of MED file call. --- diff --git a/src/MEDLoader/MEDFileMeshLL.cxx b/src/MEDLoader/MEDFileMeshLL.cxx index 33193cd41..16fef5d9d 100644 --- a/src/MEDLoader/MEDFileMeshLL.cxx +++ b/src/MEDLoader/MEDFileMeshLL.cxx @@ -156,7 +156,7 @@ std::vector MEDFileMeshL2::getAxisInfoOnMesh(med_idt fid, int mId, if(MEDmeshInfo(fid,mId,nameTmp,&spaceDim,&Mdim,&type_maillage,_description.getPointer(),_dt_unit.getPointer(), &stype,&nstep,&axistype,axisname,axisunit)!=0) throw INTERP_KERNEL::Exception("A problem has been detected when trying to get info on mesh !"); - MEDFILESAFECALLERRD0(MEDmeshUniversalNameRd,(fid,nameTmp,_univ_name.getPointer())); + MEDmeshUniversalNameRd(fid,nameTmp,_univ_name.getPointer());// do not protect MEDFILESAFECALLERRD0 call : Thanks to fra.med. switch(type_maillage) { case MED_UNSTRUCTURED_MESH: