From: ageay Date: Wed, 22 Jan 2014 14:24:30 +0000 (+0000) Subject: Warning hunting X-Git-Tag: V7_3_1b1^2~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f47bf479717bc4bbed3cc6a15dd4e3faeec8e5c6;p=modules%2Fmed.git Warning hunting --- diff --git a/src/MEDCoupling/MEDCouplingFieldDouble.cxx b/src/MEDCoupling/MEDCouplingFieldDouble.cxx index ee9fca8be..1619b2984 100644 --- a/src/MEDCoupling/MEDCouplingFieldDouble.cxx +++ b/src/MEDCoupling/MEDCouplingFieldDouble.cxx @@ -296,7 +296,6 @@ MEDCouplingFieldDouble *MEDCouplingFieldDouble::cellToNodeDiscretization() const MEDCouplingAutoRefCountObjectPtr nsp(new MEDCouplingFieldDiscretizationP1); ret->setDiscretization(nsp); const MEDCouplingMesh *m(getMesh());//m is non empty thanks to checkCoherency call - int nbCells(m->getNumberOfCells()),nbNodes(m->getNumberOfNodes()); MEDCouplingAutoRefCountObjectPtr rn(DataArrayInt::New()),rni(DataArrayInt::New()); m->getReverseNodalConnectivity(rn,rni); MEDCouplingAutoRefCountObjectPtr rni2(rni->deltaShiftIndex()); @@ -306,7 +305,6 @@ MEDCouplingFieldDouble *MEDCouplingFieldDouble::cellToNodeDiscretization() const std::vector< MEDCouplingAutoRefCountObjectPtr > outArrsSafe(sz); std::vector outArrs(sz); for(std::size_t j=0;jgetNumberOfComponents()); MEDCouplingAutoRefCountObjectPtr tmp(arrs[j]->selectByTupleIdSafe(rn->begin(),rn->end())); outArrsSafe[j]=(tmp->accumulatePerChunck(rni->begin(),rni->end())); tmp=0; outArrsSafe[j]->divideEqual(rni3);