]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
warning hunting OK_070613
authorageay <ageay>
Fri, 7 Jun 2013 14:30:12 +0000 (14:30 +0000)
committerageay <ageay>
Fri, 7 Jun 2013 14:30:12 +0000 (14:30 +0000)
src/MEDCoupling/MEDCouplingUMesh.cxx

index bf4e87394eef2347da81bbb54526aa14a1dd1288..eefb63634bf9a8c6d3dd1e381e5067c4693940e3 100644 (file)
@@ -8026,7 +8026,7 @@ void MEDCouplingUMesh::ComputeVecAndPtOfFace(double eps, const double *coords, c
   std::size_t nbPoints=std::distance(begin,end);
   if(nbPoints<3)
     throw INTERP_KERNEL::Exception("MEDCouplingUMesh::ComputeVecAndPtOfFace : < of 3 points in face ! not able to find a plane on that face !");
-  double vec[3];
+  double vec[3]={0.,0.,0.};
   std::size_t j=0;
   bool refFound=false;
   for(;j<nbPoints-1 && !refFound;j++)
@@ -8811,7 +8811,7 @@ bool MEDCouplingUMesh::BuildConvexEnvelopOf2DCellJarvis(const double *coords, co
           int nextNode=-1;
           int prevNode=-1;
           double resRef;
-          double angleNext;
+          double angleNext=0.;
           while(nextNode!=startNode)
             {
               nextNode=-1;