Fix bug 12796: Warning missed for the bad file 'test18.med'

This commit is contained in:
jfa 2006-08-10 07:53:07 +00:00
parent e83c4c9cf5
commit 104ff7b281

View File

@ -130,9 +130,11 @@ DriverMED_R_SMESHDS_Mesh
// Reading MED nodes to the corresponding SMDS structure // Reading MED nodes to the corresponding SMDS structure
//------------------------------------------------------ //------------------------------------------------------
PNodeInfo aNodeInfo = aMed->GetPNodeInfo(aMeshInfo); PNodeInfo aNodeInfo = aMed->GetPNodeInfo(aMeshInfo);
if(!aNodeInfo) if (!aNodeInfo) {
aResult = DRS_FAIL;
continue; continue;
}
PCoordHelper aCoordHelper = GetCoordHelper(aNodeInfo); PCoordHelper aCoordHelper = GetCoordHelper(aNodeInfo);