From: ageay Date: Fri, 28 Jun 2013 15:55:55 +0000 (+0000) Subject: Little debug thanks to V7_main dev. X-Git-Tag: V6_7_0~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bc83323637d010e5a7ec78943352f2e0d1b77efa;p=tools%2Fmedcoupling.git Little debug thanks to V7_main dev. --- diff --git a/src/MEDLoader/MEDFileField.cxx b/src/MEDLoader/MEDFileField.cxx index 562dbef5c..c180c887f 100644 --- a/src/MEDLoader/MEDFileField.cxx +++ b/src/MEDLoader/MEDFileField.cxx @@ -4654,7 +4654,10 @@ MEDFileAnyTypeField1TSWithoutSDA *MEDFileField1TSWithoutSDA::deepCpy() const thr void MEDFileField1TSWithoutSDA::setArray(DataArray *arr) throw(INTERP_KERNEL::Exception) { if(!arr) - _arr=0; + { + _arr=0; + return ; + } DataArrayDouble *arrC=dynamic_cast(arr); if(!arrC) throw INTERP_KERNEL::Exception("MEDFileField1TSWithoutSDA::setArray : the input not null array is not of type DataArrayDouble !"); @@ -4817,7 +4820,10 @@ MEDFileAnyTypeField1TSWithoutSDA *MEDFileIntField1TSWithoutSDA::deepCpy() const void MEDFileIntField1TSWithoutSDA::setArray(DataArray *arr) throw(INTERP_KERNEL::Exception) { if(!arr) - _arr=0; + { + _arr=0; + return ; + } DataArrayInt *arrC=dynamic_cast(arr); if(!arrC) throw INTERP_KERNEL::Exception("MEDFileIntField1TSWithoutSDA::setArray : the input not null array is not of type DataArrayInt !");