From f0de4673f0e0204c1a76f26d78c6d1f0afd32b5b Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Tue, 18 Aug 2015 14:01:20 +0200 Subject: [PATCH] For old MED file fra.med the returned code of MEDmeshUniversalNameRd is not 0. For the moment comment the protection of MED file call. --- src/MEDLoader/MEDFileMeshLL.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.2